Georg Franz
|
Wednesday 21 December 2005 3:13:51 am
{* special template for the ez company and all ez developers and users .. *}
{def today=currentdate()
day=$today|datetime(custom,'%d')
month=$today|datetime(custom,'%m')
year=$today|datetime(custom,'%Y')}
{if and(eq($day,24),eq($month,12))}
<h1>Merry X-mas!</h1>
<p>
I wish you a merry X-Mas and may your wishes become true!
</p>
{/if}
{if and(eq($day,1),eq($month,1))}
<h1>Happy New Year!</h1>
<p>
Thank you for your hard work and the exciting development of the
best CMS / Framework in the world.
All the best wishes for 2006!
</p>
{/if}
{undef}
Best wishes,
Georg.
--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004
|
Kristian Hole
|
Friday 23 December 2005 1:08:07 am
Here is a small christmas template from me:
{* christmas greeting to everyone *}
<h1>To all you people here on the forum, and all users of eZ publish</h1>
{'Merry christmas and a happy new year!'|wordtoimage}
This doesn't have any time-checking, so it can be left on for as long as wanted :-)
Kristian
http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute
|
Nathan Kelly
|
Friday 23 December 2005 2:49:07 am
I don't have any fancy templates, but happy Christmas and New Year to all; I hope you all get something special. And thanks for your support throughout the year. Big Cheers to all on the forums!
Pardon me while I burst into flames...
|