Sticky entries

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Sticky entries

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Sticky entries

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Fabien
Regular
Posts: 204
Joined: Wed Mar 15, 2006 1:02 pm
Location: Paris (France)
Contact:

Post by Fabien »

Merci, ça marche.
Post Reply