Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1298790

    Hello,
    we are using the latest version of the Enfold – Child Theme and the plugin The Events Calendar Pro v5.60. I have added the following code to functions.php in order to be able to use the ALB:

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
      $supported_post_types[] = 'tribe_events';
      $supported_post_types[] = 'tribe_venue';
      $supported_post_types[] = 'tribe_organizer';
    	
      return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
    

    Now the problem, the ALB “deactivates” the fields of the Event Calendar. I would like to use the ALB to design the event page. When I only use the “standard editor” everything is fine. If I insert the code of another “normal” post (which was created with the ALB) into the standard editor, everything is also fine. As soon as I activate the ALB for an event, the page designed with the ALB is displayed but no headline, map, iCal button, organizer, etc.
    There is just the page i design with ALB.

    The ALB button is like an on / off switch for the calendar functions.

    How can I change this? I would be very happy about help.

    #1299138

    Hi Jan,

    That is how the Layout Builder works for normal posts as well, changing that would not be possible unfortunately. Would you be able to get the items which you are missing using shortcode maybe? If so then you could add the shortcode to a new post, then save that as a template. After that, then you can load that template for each new post.

    Best regards,
    Rikard

    #1299389

    Hi Rikard,
    that is unfortunate. It is good to know that there is not a major compatibility issue.
    To use shortcodes to get the calendar fields would be ok.
    I haven’t used any shortchodes so far, so I don’t know how to find the shortcodes or create new ones. I have to do a little research. I would love to have a shortcode for the header and one for the full footer. That would be easier than adding each item individually. Maybe the calendar has already integrated the corresponding shortcodes.
    Thank you for your prompt reply.

    Best regards
    Jan

    • This reply was modified 3 years, 6 months ago by Jan Loedige.
    #1299794

    Hi Jan,

    Thanks for the update. We’ll keep this thread open, in case you should need any further help from us.

    Best regards,
    Rikard

    #1299983

    Hey Rikard,

    Quick question: Is there no way to reduce the influence of the ALP on the marked area?
    Everything would be so easy if there is a way. I’m in contact with TEC support for a shortcut solution.

    #1300237

    Hi,

    Thanks for the update. I’m not sure I understand your question though, how is the theme influencing that editor?

    Best regards,
    Rikard

    #1300928

    Hi Rikard,

    I mean, the middle area (marked in red in the picture) is the part I want to design with the ALB. By activate the ALB the marked editor is replaced by the ALB like it should be. In frontend, the events headline and date are generated by the TEC above this area. Below this middle area the TEC shows further information like the map, venue, contact to the organizer, ICal button, etc.
    If I activate the ALB and design the page as usual, all this information are no longer displayed in the frontend. Just the ALB page is displayed, like a regular post. In backend, the fields from TEC are still available and there are no error messages.

    My question, is it possible to use the ALB to design only the area the classic-editor would design?

    I hope I was able to describe my problem exactly. Excuse my english.

    #1301168

    Hi,

    Thanks for the update and clarification, what you are looking for is not possible unfortunately. You would either need to use shortcodes from the plugin, or from the theme. You can use the Magic Wand tool to import some shortcode/elements from the theme, or you can enable debug mode, in order to see all theme shortcodes: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode. One possibility for you might be to build your layout on a separate page, then copy/paste the shortcodes into your event.

    Best regards,
    Rikard

    #1301171

    Hi Rikard,

    thank you. I will find da way

    #1301508

    Hi,

    Thanks for the update. We’ll keep this thread open, in case you should need any further help on the topic.

    Best regards,
    Rikard

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