X-MAS Template 1.0

Author Message

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

Frederik Holljen

Friday 23 December 2005 1:15:51 am

Thanks George!
A very happy christmas and a merry New Year to all of you as well ;)

Ɓukasz Serwatka

Friday 23 December 2005 1:43:04 am

Haha, very nice Georg :)

I would like to wish Merry Christmas and a Happy New Year to all eZ Community members!

All the best!

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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...

Siw Helen Thorslund

Friday 23 December 2005 3:04:38 am

Merry Christmas and a Happy New Year to all of you in eZ systems and all the eZ Community members!

Best wishes,
All of us in VZT

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.