Home › Forums › Calendar Products › Events Calendar PRO › Edits in pro/photo/single-event.php and pro/photo/loop.php break the calendar
- This topic has 5 replies, 3 voices, and was last updated 9 years, 4 months ago by
Daan.
-
AuthorPosts
-
January 11, 2017 at 7:41 am #1216525
Daan
ParticipantHi there,
My previously working changes in pro/photo/single-event.php now break the calendar, the page remains empty, though other views do work.
I only added a few spans, so nothing should be breaking.
Any ideas?Regards,
DaanJanuary 11, 2017 at 9:27 am #1216713George
ParticipantHi Daan,
It’s indeed true that customizations to old versions of code may not work in new versions of code.
This is an inherent fact about customizations, and is one of the reasons we do not provide any assistance with or support for customizations. Please read here to learn about what we can help with in terms of product support → https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
In other words, you are ultimately responsible for creating, testing, fixing, and maintaining your customizations, and we cannot guarantee a solution to your issues here.
With all of this being said, I would be happy to at least try taking a quick look at your custom coding. I may be able to identify an obvious factor in the code that is causing issues, and may be able to recommend a fix.
Again, such a resolution is not guaranteed, and is unlikely—but I’m happy to try! 😀
To help me help you out on this, please copy and paste the full, un-edited version of your custom pro/photo/single-event.php file into a Gist at http://gist.github.com
Then share a link to that Gist here and I will take a look, and will try to identify the culprit.
Thanks!
GeorgeJanuary 12, 2017 at 1:53 am #1217255Daan
ParticipantHi George,
Thanks for taking some time.https://gist.github.com/DaanDirk/ed158f4d8552930d8ef713313c3c2172
Like I said. Just added a few spans. Look at line 31:<span class="tentoonstelling"></span><span class="lezing cursus"></span><span class="dada"></span><span class="bloemen"></span><span class="collectie"></span><span class="kinderen"></span><span class="PietMondriaan"></span><span class="BartvanderLeck"></span><span class="TheovanDoesburg"></span><span class="Theater"></span><a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title() ?>" rel="bookmark">Regards,
DaanJanuary 12, 2017 at 2:11 am #1217260Daan
ParticipantHi George.
Or view it like this:<span class="tentoonstelling"></span> <span class="lezing cursus"></span> <span class="dada"></span> <span class="bloemen"></span> <span class="collectie"></span> <span class="kinderen"></span> <span class="PietMondriaan"></span> <span class="BartvanderLeck"></span> <span class="TheovanDoesburg"></span> <span class="Theater"></span> <a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title() ?>" rel="bookmark">That last bit was already there.
Also, a few spans works fine, but after a certain about of characters it just fails.
It feels like there is a bottleneck somewhere. Can you tell me where that originates, or what number of characters the cap is at?because this reduced version does work:
<span class="tt"></span><span class="lezing cursus"></span><span class="dada"></span><span class="bloemen"></span><span class="kinderen"></span><span class="pm"></span><span class="Theater"></span> <a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title() ?>" rel="bookmark">Happy I solved it, for now, but a bit annoyed at the randomness and the loss of time.
All in all, I feel strongly neutral 😐 https://www.youtube.com/watch?v=ussCHoQttyQRegards,
DaanJanuary 13, 2017 at 1:38 am #1217944George
ParticipantWeird stuff, Daan. I’m glad you solved it for now—I will close this thread. If issues arise again though, open a new thread any time!
Thanks,
George -
AuthorPosts
- The topic ‘Edits in pro/photo/single-event.php and pro/photo/loop.php break the calendar’ is closed to new replies.
