get_tribe_venue(); not working on mobile calendar view

Home Forums Calendar Products Events Calendar PRO get_tribe_venue(); not working on mobile calendar view

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1030383
    Carl
    Participant

    Hi!

    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??

    #1030776
    Brian
    Member

    Hi,

    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

    #1032981
    Carl
    Participant

    This 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.

    • This reply was modified 10 years, 5 months ago by Carl.
    • This reply was modified 10 years, 5 months ago by Carl.
    #1033229
    Brian
    Member

    Hi,

    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?

    #1033233
    Carl
    Participant

    Yes, of course I ment tribe_get_venue(); sorry my bad!

    The template is: views -> month -> mobile.php

    #1033412
    Brian
    Member

    Ok 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.

    #1075868
    Support Droid
    Keymaster

    This 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘get_tribe_venue(); not working on mobile calendar view’ is closed to new replies.