Tagged: plugin, the-events-calendar-pro
-
AuthorPosts
-
May 6, 2021 at 2:11 pm #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.
May 9, 2021 at 4:43 am #1299138Hi 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,
RikardMay 10, 2021 at 3:34 pm #1299389Hi 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, 7 months ago by Jan Loedige.
May 12, 2021 at 4:42 am #1299794Hi Jan,
Thanks for the update. We’ll keep this thread open, in case you should need any further help from us.
Best regards,
RikardMay 12, 2021 at 7:13 pm #1299983Hey 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.May 14, 2021 at 4:47 am #1300237Hi,
Thanks for the update. I’m not sure I understand your question though, how is the theme influencing that editor?
Best regards,
RikardMay 18, 2021 at 10:35 am #1300928Hi 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.
May 19, 2021 at 11:36 am #1301168Hi,
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,
RikardMay 19, 2021 at 11:42 am #1301171Hi Rikard,
thank you. I will find da way
May 21, 2021 at 5:10 am #1301508 -
AuthorPosts
- You must be logged in to reply to this topic.