Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Menue element button styles don't show #1223663

    Ooops, I’ll make an update then, thanks. :-)

    in reply to: Allowed memory size issue with editor popups #918478

    Ok, are these your standard answers? First you recommend to raise the memory limit, which does not work because of a hard-coded limit in the code. And if that does not work you tell me to get some paid customization?
    I think it does not require a lot of code! It just needs to make 2 post_type non-public instead of one, so it is just a question of the right syntax in one line of code, which might be really easy for the developer of this code.

    in reply to: Allowed memory size issue with editor popups #917980

    If I simply replace ‘attachments’ with our post_type, it works.
    I would just have both to be not “public” to keep the linkpicker as clean as possible. The existance of the array with “allowed post types” makes me think that the developer was thinking of the possibility of adding some more!?

    in reply to: Allowed memory size issue with editor popups #917613

    Hi,
    sorry, but it does not work.

    in reply to: Allowed memory size issue with editor popups #917344

    How can I add another post type here NOT to be a public:
    /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php
    line 256

                $post_types         = get_post_types(array('public' => false, 'name' => 'attachment', 'show_ui'=>false, 'publicly_queryable'=>false), 'names', 'NOT');
    

    ??

    in reply to: Allowed memory size issue with editor popups #917342

    Hi.
    Unfortunately our chief of development would not like anyone else to have an admin access to our development site, so we have to solve this somehow differently, sorry.
    BUT:
    I got an idea, where our problem is. The hard-coded setting of the memory limit, mentioned above, is inside the function generating the “linkpicker”. We have have a database table wp_term_taxonomy with more than 50,000 entries already and they are all written in an array to build the linkpicker.
    There is a different code defining the allowed post types and taxonomies:
    /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php line 288:
    $taxonomies = apply_filters(‘avia_public_taxonomies’, $taxonomies);
    How can I exclude some taxonomies types from this filter??
    Kind regards

    in reply to: Allowed memory size issue with editor popups #915632

    Hi,
    i just found out that enfold is limiting the memory use itself to 256MB, so changing the PHP and WP limit to a higher value does not work.
    /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php
    line 745:

    
                //necessary for installations with thousands of posts
                @ini_set("memory_limit","256M");
    
    in reply to: Allowed memory size issue with editor popups #915613

    Hi,
    can you please tell me where I can find the code which generates these popups?
    Kind regards

    in reply to: Rich text excerpt in Masonry grid #915600

    This can be closed. I solved it like this:

    				$this->loop[$key]['content']		= !empty($entry->post_content) ? $entry->post_content : $entry->post_excerpt;
    

    Thanks again.

    in reply to: Allowed memory size issue with editor popups #914820

    Hi, thanks for your quick answer. I was expecting this, but I am not really happy with the solution. WHY is this tiny modal window taking up so much memory?? Why would it work with other content elements. If our media library grows (it will), we will get the error again, even with GBs of memory!?
    I think there must be some loop in the avia framework somewhere checking ALL attachments at once? Possible?
    Kind regards

    in reply to: Rich text excerpt in Masonry grid #914793

    Thank you!

Viewing 11 posts - 1 through 11 (of 11 total)