Created
March 27, 2012 13:43
-
-
Save GDmac/2215989 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
/* Event Helper, set an event to april first | |
* it won't show in the channel:entries | |
* but the archive wil show an entry for april | |
*/ | |
{exp:channel:entries channel="events" | |
dynamic='no' | |
year='2012' month='04' | |
show_expired='yes' show_future_entries="yes" | |
} | |
<p>{title} - {entry_date}</p> | |
{/exp:channel:entries} | |
{exp:channel:month_links channel="events" show_future_entries="yes" show_expired="yes"} | |
{year_heading}<strong>{year}</strong><br>{/year_heading} | |
<a href="{path='events/detail'}">{month_short}</a> | |
{/exp:channel:month_links} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment