Created
May 24, 2017 21:02
-
-
Save stirlinghewitt/6bdf9db8862b649683b7569a739a9dd5 to your computer and use it in GitHub Desktop.
Lists by ID
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
{atbslist id="6" assign=hec} | |
- You get the ID by looking at the url you are editing in the admin panel custom lists | |
<div class="lightOrangeBorder" id="rodeo"> | |
{atbslist id="6" assign=hec} | |
<div class="listHeader">{$hec.0->ListName}</div> | |
<div class="clear"></div> | |
{foreach from=$hec key=k item=i name=i} | |
{if !$smarty.foreach.i.last} | |
<div class="geoItem"> | |
<div class="geoDate"> | |
<span class="geoDateMonth">{$i->Description|strip_tags|date_format:"%b"}</span><br /> | |
<span class="geoDateDay">{$i->Description|strip_tags|date_format:"%d"}</span> | |
</div> | |
<div class="geoEvent"><a href="{$i->URL}" title="{$i->Name}">{$i->Name|truncate:35}</a></div> | |
</div> | |
{/if} | |
{if $smarty.foreach.i.last} | |
<a class="viewAllLink" href="{$i->URL}">View All {$i->Name} Tickets »</a> | |
{/if} | |
{/foreach} | |
<div class="clear"></div> | |
</div> | |
Myticketin has the TE atbs list plugin. | |
If on TND make sure to diff the atbslist plugin file to at least version 308 | |
<div class="hotEvents"> | |
{atbslist id="2" assign=hec} | |
<div class="hotEventsHdr">{$hec.0.ListName}</div> | |
<div class="hotEventsList"> | |
<ol> | |
{foreach from=$hec key=k item=i} | |
<li class="{cycle values="li_bg_o,li_bg_e"}"><a href="{$i.URL}">{$i.Name}</a></li> | |
{/foreach} | |
</ol> | |
</div> | |
<div class="hotEventsBtn"><a href="/Concerts/"><img src="/content/images/more.jpg" alt="buy now"></a></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment