Home › Forums › Calendar Products › Events Calendar PRO › get_tribe_venue(); not working on mobile calendar view
- This topic has 6 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
November 24, 2015 at 1:34 pm #1030383
Carl
ParticipantHi!
The function get_tribe_venue(); doesn’t put out the correct value in my mobile view of the calendar when viewing events from a particular date. It works fine in List view on the big screen but fails on mobile.
The title, permalink and excerpt are retrieved successfully by another method that looks like this [[=title]].
Is there maybe a corresponding way of getting the venue with this method??November 25, 2015 at 6:13 am #1030776Brian
MemberHi,
Thanks for using our plugins. I can try to help out here.
I am not sure where you are referring too. Do you have a link or screenshot you can provide?
Thanks
December 1, 2015 at 5:17 am #1032981Carl
ParticipantThis is the view I’m talking about.

I would like for the venue to show up underneath the title of the event, but with the default function get_tribe_venue(); it shows the same venue for all the events, which is also the wrong venue.
Right now I’ve removed the function not to show the wrong venue, so right now it shows nothing.
December 1, 2015 at 7:17 am #1033229Brian
MemberHi,
You mean tribe_get_venue() as get_tribe_venue() does not exist in the plugins.
You have to pass the event id to tribe_get_venue() to get it to work correctly here.
Which template are you putting it in?
December 1, 2015 at 7:28 am #1033233Carl
ParticipantYes, of course I ment tribe_get_venue(); sorry my bad!
The template is: views -> month -> mobile.php
December 1, 2015 at 12:47 pm #1033412Brian
MemberOk are you adding it directly to that template?
It has to be placed in the single-events.php and then the javascript template has to be modified according to that template.
I do not have a good example of that, but this plugin show hows to modify the tooltip with this information:
https://github.com/bordoni/tec-forum-support/tree/plugin-945349
This is another example to that could be modified fro the mobile.php:
Add Organizer, Venue and Price info to tooltips in Week and Month view
I can try to help out some more, but I am limited in support 3rd party customizations so might not be able to provide information on this entire process.
February 18, 2016 at 8:32 am #1075868Support 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 ‘get_tribe_venue(); not working on mobile calendar view’ is closed to new replies.
