Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #591018

    Hello,

    I created a table on my page the normal way by selecting it as a content element and then editing it. But when I want to insert a table as a shortcode on a page where I can only use shortcodes it is very hard to edit a table after I pressed the ok button when inserting the table.
    So I was thinking to design the table on a page where I can insert it the ordinary way, then selecting the total code of the table and pasting it on the page where I can only insert tables as a shortcode.

    Can you tell me how I can see the specific shortcode of a table for example on a page where I use the normal way of inserting content elements?

    Thanks!

    #591110

    Hey EricSmeets!

    you can activate debug mode to see shortcodes: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Regards,
    Andy

    #591587

    I did that, but it is not working. I think I pasted it on the wrong php-file or something? I can see a code snippet on the top of the page now…

    • This reply was modified 8 years, 9 months ago by EricSmeets.
    #591917

    Hi,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #592154

    Ok, I will do that, thanks!

    #592624

    Any idea yet what I did wrong?

    #593867

    Hi,

    You are getting this error message when editing a page:

    Priority in /var/www/vhosts/ericsmeets.nl/httpdocs/testserver/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/meta-box.class.php on line 102 Notice: Undefined index: priority in /var/www/vhosts/ericsmeets.nl/httpdocs/testserver/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/meta-box.class.php on line 102 Notice: Undefined index: priority in /var/www/vhosts/ericsmeets.nl/httpdocs/testserver/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/meta-box.class.php on line 102

    Not sure what is causing that though, what is that customisation for?

    Thanks,
    Rikard

    #593944

    Could you give it a try here pleae (this is a copy of the same website, but without this error message you mentioned):

    #594002

    Hey!

    are those 2 web sites on the same server and same php version?

    Cheers!
    Basilis

    #594006

    It is a different server, but the same php version.

    #594681

    Hello, I was hoping to get some support here!

    #595323

    Hi,

    I tried adding the code but it resulted in an internal server error 500. Please post FTP login details so that we can remove the code from there.

    Thanks,
    Rikard

    #595415

    I can see you added the code to functions.php in the enfold-child theme folder. I removed it so the server is working again. Any idea what went wrong?

    I tried adding the code on another test server, but to no avail. The code does not work there either.

    #596069

    Hi,

    What happens if you remove your custom code and paste it in after that?

    Best regards,
    Rikard

    #597638

    I found out where the problem was. I also pasted the code in the functions-enfold.php file in the main template. So obviously pasting the same code on 2 locations caused the 500 error.

    So now I only pasted it in the functions.php file in the child theme folder and not in the functions-enfold.php file in the main enfold theme.

    Maybe good to update this information on your page: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Thanks for the support!

    • This reply was modified 8 years, 9 months ago by EricSmeets.
    #598256

    Hi,

    Glad you found the problem and thanks for the heads up :-)

    Thanks,
    Rikard

    #1361812

    Hi, I posted this a couple of years ago and now I try to do the same with another website. I pasted the code on your website:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
      return "debug";
    }

    at the bottom of the functions.php file. (I have no child theme installed.) But I can’t see a debug field appearing when editing my page. Any idea?

    #1361815

    Hi,

    Thanks for the update. Please refer to this: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode

    Best regards,
    Rikard

    #1361817

    Yes, I read that. But I am unable to locate this line in the functions.php file:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    • This reply was modified 2 years, 4 months ago by EricSmeets.
    #1361819

    Hi,

    It starts on line 41 in functions.php:

    if( isset( $avia_config['use_child_theme_functions_only'] ) )
    {
    	return;
    }

    Paste the code under that.

    Best regards,
    Rikard

    #1361820

    Yes, I the search function did not find that line, stange. Thanks!

    Kind regards, Eric Smeets.

    #1361838

    Hi,

    Great, I’m glad that we could help. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 22 posts - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.