Home › Forums › Calendar Products › Events Calendar PRO › link event to url
- This topic has 28 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
August 13, 2013 at 9:22 am #60176
Barry
MemberHi Nini – it looks like your override for month view is in the correct place, so I’m not sure why that isn’t working.
For the mini-calendar widget you will need to move it from …/pro/widgets/ to just …/widgets/ (I appreciate that isn’t too clear in the Themer’s Guide and we’re just discussing that within the team).
Re the month view, can you share what’s currently in the override and let me know if it is still in place? Perhaps you could also change (from within the month/single-event.php template):
<h3 class="tribe-events-month-event-title summary">To:
<h3 class="tribe-events-month-event-title summary test">And then I could inspect to see if that extra .test class is present in the output.
August 13, 2013 at 10:48 am #60216Nini
Participantactually – here is what is in my single-event.php file in the month folder
ID}-{$day[‘daynum’]}”;
$start = tribe_get_start_date( $post, FALSE, ‘U’ );
$end = tribe_get_end_date( $post, FALSE, ‘U’ );?>
<div id="tribe-events-event-” class=””>
<a href="” class=”url”>
<div id="tribe-events-tooltip-” class=”tribe-events-tooltip”>
August 13, 2013 at 11:19 am #60232Barry
MemberHi Nini. Unfortunately the forum has a bad habit of stripping out bits and pieces of code – would you be able to share that as a Gist or using Pastebin (and drop the link in here)? Thanks – and sorry for the inconvenience.
August 13, 2013 at 1:41 pm #60278Nini
Participantyou bet – here is a link to the mini calendar single-event.php
August 13, 2013 at 1:43 pm #60280Nini
Participantand here is the month single-event.php
August 13, 2013 at 1:57 pm #60286Nini
ParticipantLooks like the mini calendar widget works now that I moved it out of the /pro folder
but not the calendar view
thanks for the tip on removing it from the /pro folder
nAugust 13, 2013 at 2:39 pm #60298Barry
MemberHi Nini – so I could totally be missing something here – but what is the difference between your custom month/single-event.php and the original?
What I mean is – if they are indeed the same, how are you establishing that the override is not being used?
August 14, 2013 at 6:36 am #60390Nini
Participantthanks Barry – I implemented the change that you supplied in your ‘answer’ above
i replaced
tribe_event_link( $post )
with
echo tribe_get_unslashed_event_link()I don’t think you should need to pass in the $post variable in these circumstances, but let me know if that doesn’t work for you.
August 14, 2013 at 6:43 am #60395Nini
Participantahhhhhhh – you are absolutely right – I didn’t make the change in that file
I just did and it worked – so sorry for the hiccup – it works now
thank you so much!!
August 14, 2013 at 6:48 am #60400Barry
MemberHi Nini,
Just to clarify – the problem as I understand it is that your custom month/single-event.php template isn’t being loaded (though you did find changing the core plugin templates directly worked – which of course we want to avoid 🙂 ).
You also shared the code for your custom override – http://pastebin.com/vJjByJfT – but I don’t see anything in this that is different from the original (there is no call to tribe_get_unslashed_event_link() in there for instance that I can see).
Based on what you’ve told me so far it looks like your override is in the correct directory – but that it is identical to the original (so you would see no difference). Does that make more sense?
August 14, 2013 at 6:50 am #60402Barry
MemberAh ok, looks like we posted at the same time there 🙂
So you’re all good on this front now?
August 14, 2013 at 7:56 am #60412Nini
ParticipantYes – Thank you Barry!
August 14, 2013 at 8:10 am #60416Barry
MemberGreat stuff, hope all else goes smoothly with the project – but of course please don’t hesitate to create new threads if you need further assistance.
July 7, 2015 at 6:27 am #980112Support 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 ‘link event to url’ is closed to new replies.
