Created
September 27, 2012 23:22
-
-
Save objectivehtml/3797055 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{exp:channel:entries | |
channel="producers" | |
disable="member_data|categories|category_fields|pagination" | |
dynamic="no" | |
url_title="{segment_3}" | |
} | |
{exp:stash:set no_results_prefix="nested_"} | |
{stash:page_title}{title}{/stash:page_title} | |
{stash:page_id}producer{/stash:page_id} | |
{stash:page_class}{/stash:page_class} | |
{stash:page_content} | |
<div class="row"> | |
<div class="eight columns"> | |
<h1>Producer Name</h1> | |
{if producer_logo} | |
<div class="brdr-trans"> | |
{producer_logo class="logo"} | |
</div> | |
{/if} | |
{if producer_description} | |
<p>{producer_description}</p> | |
{/if} | |
</div> | |
<div class="four columns"> | |
<ul class="nostyle topspc"> | |
<li><strong>Contact Info</strong></li> | |
{if producer_phone} | |
{producer_phone} | |
<li><i class="icon-phone"></i> <a href="callto:{value}">{value}</a></li> | |
{/producer_phone} | |
{/if} | |
{if producer_website} | |
<li><i class="icon-globe"></i> <a href="{producer_website}">{producer_website}</a></li> | |
{/if} | |
{if producer_email} | |
<li><i class="icon-envelope-alt"></i> <a href="{producer_email}">{producer_email}</a></li> | |
{/if} | |
</ul> | |
</div> | |
</div> | |
<div class="row"> | |
<hr class="dashed"> | |
<div class="eight columns"> | |
<h4>Upcoming Events</h4> | |
<ul class="nostyle"> | |
{exp:showtimes:reverse_related_entries | |
channel="events" | |
rel_entry_id="38" | |
prefix="related:" | |
status="open|Featured" | |
} | |
{if related:no_results} | |
<li class="no-results">There are no upcoming showtimes for this producer.</li> | |
{/if} | |
<li>{related:event_showtimes:next_start_time format="%D %M %d %Y"} - <a href="/events/details/{related:url_title}"><strong>{related:title}</strong></a> - <i class="icon-time"></i> {related:event_showtimes:next_start_time format="%g:%i%a"} <i class="icon-time"></i> {related:event_showtimes:next_end_time format="%g:%i%a"}</li> | |
{/exp:showtimes:reverse_related_entries} | |
</ul> | |
{if venue_hours} | |
<div> | |
<p class="small"> | |
<strong>Box Office Hours: </strong> | |
{venue_hours trim="yes" rtrim="|"} | |
{value} | | |
{/venue_hours} | |
</p> | |
</div> | |
{/if} | |
</div> | |
</div> | |
{/stash:page_content} | |
{/exp:stash:set} | |
{/exp:channel:entries} | |
{stash:embed name="structure:header"} | |
{stash:embed name="structure:footer"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment