Listing Events at a Venue

Applies to: Jamroom 7.0+ Last verified: 2026-10-24

Table of Contents:


The idea
The page
Linking to it
  • The idea

    List all events at one venue, from every profile, on a page of their own.

  • The page

    Create a skin template, such as skins/xxMySkin/venue_events.tpl: it's at yoursite.com/venue_events.

    {jrCore_include template="header.tpl"}
    <div class="container">
        <h1>Events at {$_post.venue|jrCore_entity_string}</h1>
        {jrCore_list module="jrEvent" search1="event_location = `$_post.venue`" order_by="event_date numerical_asc" pagebreak="10" page=$_post.p pager=true}
    </div>
    {jrCore_include template="footer.tpl"}
  • The backticks put the value of $_post.venue into the search.

  • Linking to it

    In the Event module's list or detail template (as a skin override: see Changing a Module's Template), link each venue to the page:

    <a href="{$jamroom_url}/venue_events/venue={$item.event_location|urlencode}">{$item.event_location}</a>
  • venue=... in the address becomes $_post.venue. Check the Event module's DataStore Browser for the exact key names on your site.

Tags