Venue list page?

Home Forums Calendar Products Events Calendar PRO Venue list page?

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #17138
    Sarah
    Member

    Hi,
    I’ve just bought the pro version of Events Calendar but think I may have made a mistake. I was expecting to be able to have a page with a list of Venues in the same way you can have a list of Events, but I cant see the settings for this. Have I just missed something?

    #17153
    Henry
    Member

    It may not come out-of-the-box but this is very easily done. You just need to know what the guys at tri.be have called the “venue” custom post type. The following code should work if you paste it into one of your templates:

    have_posts()) : $event_archive_query->the_post(); ?>
    <a href="” title=””>

    #17156
    Henry
    Member

    OK – that code paste didn’t work very well. i can send you the code or perhaps someone will let me know how to paste code on here? i seem to need to escape the opening and closing php tags

    #17168
    Jonah
    Participant

    Just post on pastie.org or pastebin.com or any other preferred pasting service. We’re going to add code formatting to forum comments at some point…

    #17179
    Sarah
    Member

    Thank you Henry & Jonah for your replies.
    I will be interested in seeing how easy this is to implement on my site.
    Jonah, are you aware of any other sites who have customised the plugin in this way, or can you comment on whether this type of feature may be available out of the box in future?
    I upgraded to the pro version to get the Venue functionality but would like the option to get a refund if I can’t get this working easily.
    Thanks again.

    #17185
    Jonah
    Participant

    Hi Sarah, it might be available out of the box at some point but it is relatively easy to achieve. Basically you just need to setup a custom query on a page on your site and pull from the ‘tribe_venue’ post type. Here’s a very basic example that you could throw into one of your templates: https://gist.github.com/2211213

    #17197
    Odhran
    Participant

    Hi, I’m not the most competent when it comes to coding- what template should I be pasting Jonah’s query into?, and where would I find it.

    I am seeking to achieve the same thing as the OP, and also assumed it was going to be out-of-the-box. I’m happy to do it manually, but I would need more guidance.

    #17201
    Odhran
    Participant

    Ok, so I’ve managed to answer my previous question. I used Jonah’s code, but what I would prefer to be displayed is not only the name/link of venue, but all details as per the single venue page. I did a quick copy and paste job and got thus far:

    http://2013fleadh.ie/venues/

    But obviously it’s not right. Can anyone help make it right?

    here is my template file:

    http://pastebin.com/4i3aE1zR

    #17204
    Odhran
    Participant

    Another update… page looking reasonably well now, with one issue still unresolved: the maps are not showing for the venues, and the one map that is showing does not correspond to that particular venue. How do I rectify this?

    Also, is there a way of making the maps show a closer vicinity to the venue than what they do at present?

    #17205
    Odhran
    Participant

    PS. Here is the current php file…

    http://pastebin.com/zWgkSKQq

    #17227
    Henry
    Member

    @Sarah

    The guys seem to have already provided some code that will do the tick for you. In case you still needed it, my code was:

    http://pastie.org/3680652

    #17228
    Henry
    Member

    @Jonah

    Great – looking forward to being able to paste directly here. Pastie.org does the job though. Thanks!

    #17247
    Rob
    Member

    Sounds like we’re all set here, right folks? Let me know if not.

    Henry: yeah, we are definitely working on that 🙂 Just trying to find the plugin that plays best with our system…

    #17255
    Sarah
    Member

    Hi, thanks all for the code but I am a total newbie and I’m still not sure how to proceed. Do I have to create a new template or is there one I should be editing? Instructions for Dummies is what I need 🙂
    Will this template file be overidden every time I update the plugin?
    Will you consider adding this functionality out of the box in a future update? Your competitor, the Events Manager plugin does have this ability and it is not a pro feature.
    Thanks again for the responses so far.

    #17258
    Odhran
    Participant

    Hi guys, my one outstanding issue is the maps…
    http://2013fleadh.ie/venues/

    The maps are not showing with the corresponding venue. It’s probably a slight coding issue but I’d need someone to point it out.

    Here is the code:
    http://pastebin.com/DmUQL0WL

Viewing 15 posts - 1 through 15 (of 22 total)
  • The topic ‘Venue list page?’ is closed to new replies.