Home › Forums › Calendar Products › Events Calendar PRO › The load_ecp_into_page_template method overrides page builder content
- This topic has 8 replies, 3 voices, and was last updated 10 years, 6 months ago by
Support Droid.
-
AuthorPosts
-
October 7, 2015 at 11:04 am #1012412
Paul Gray
ParticipantHi
I am suffering from the issue discussed here:
I see the comments from TEC saying it will be dealt with but in the meantime, I also note the poster suggested changing a filter priority on Tribe__Events__Templates::load_ecp_into_page_template as a work around.
Trouble is, I cannot find that template and the code
add_filter( ‘the_content’, array( __CLASS__, ‘load_ecp_into_page_template’ ), 9 );
to change it!
Can you tell me where it is?
Thank you.
Paul
October 8, 2015 at 7:05 am #1012682Brian
MemberHi,
Thanks for using our plugins. I can help out here.
It appears that filter is in this template on line 285 for version 3.12:
the-events-calendar/src/Tribe/Templates.php
Looks like if you change this:
add_filter( 'the_content', array( __CLASS__, 'load_ecp_into_page_template' ) );
To this:add_filter( 'the_content', array( __CLASS__, 'load_ecp_into_page_template' ), 9 );That should help fix this.
Let me know if that does for you.
Thanks
October 8, 2015 at 8:13 am #1012731Paul Gray
ParticipantThanks for coming back to me.
Sadly that seems to stop the pages loading altogether.
The homepage on my dev site loads fine
http://dev.symposium-events.co.uk/
but not events such as
http://dev.symposium-events.co.uk/event/workplace-wellbeing-and-stress-forum-2015/
October 8, 2015 at 2:39 pm #1012872Brian
MemberHi,
I changed the priority on my test site and the events all loaded. That is both single events and the event views.
So it does not cause an outright error.
If you disable the Page Builder Plugin does the single events work again?
What about changing the event template, does that help?
Events > Settings > Display Tab
Then change this setting:
Events Template to Default Page Template or another setting
Let me know if that helps, I can try to help some more, but I am limited in supporting 3rd party conflicts and may not have a way to resolve this.
Let me know though.
Thanks
October 9, 2015 at 5:21 am #1013047Paul Gray
ParticipantHi
If I change from Full Width to the Default Events Template the content does now appear – although it does not look quite right. Does that help narrow the issue down?
Paul
October 9, 2015 at 7:49 am #1013144Brian
MemberOk that is moving it forward.
I visited a single event and it looked good for the most part.
What parts are off to you?
I maybe to help with some css to fix it, but limited in resolving everything.
Let me know.
Thanks
October 9, 2015 at 7:52 am #1013147Paul Gray
ParticipantHi
Thank you.
Here is an example of a live event on our real site
http://www.symposium-events.co.uk/event/mediation-skills-training-mst06/
Header and widths appear different to the dev site equivalent:
http://dev.symposium-events.co.uk/event/mediation-skills-training-mst06/
PG
October 9, 2015 at 9:27 am #1013197Brian
MemberHi,
I found this css helps with the major issue:
.single-tribe_events #tribe-events-pg-template {
max-width: 100%;
}I can maybe help with one or two points more, but not much more then this unfortunately.
Let me know.
Thanks
October 24, 2015 at 7:05 am #1017567Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘The load_ecp_into_page_template method overrides page builder content’ is closed to new replies.
