Page 1 of 1

Sticky entries

Posted: Fri Apr 18, 2008 11:01 am
by Fabien
Hi,

I would like to have a part of my template not displayed for a sticky entry and I have been unable to find in the documentation how to do that.

So, I would like some help. Thanks.
Fabien

Re: Sticky entries

Posted: Fri Apr 18, 2008 11:05 am
by garvinhicking
Hi!

You can check the "$dategroup.is_sticky" value through Smarty templating, wiuthin the entry loop inside entries.tpl.

Control structures of Smarty are documented on http://smarty.php.net/.

Regards,
Garvin

Posted: Fri Apr 18, 2008 11:16 am
by Fabien
Merci, ça marche.