[support] 'Sticky at top' not working for me

Steve Edwards killshot91 at comcast.net
Fri Mar 7 19:27:52 UTC 2008


Yes, I noticed that, too.  I said that because I looked in the 
handy-dandy Chapter 8 of the 'Pro Drupal Development' book, and there is 
no $sticky variable listed for any template.  The Garland theme doesn't 
appear to add the variable in template.php, either, so I'm not sure 
where it's coming from.

Steve

Earnie Boyd wrote:
> Quoting Steve Edwards <killshot91 at comcast.net>:
>
>   
>> As best I can tell, there is no $sticky template variable.  When the
>> <node> page is being generated, the code looks at the sticky setting in
>> the database and puts them at the top of the list.  There isn't a
>> variable just for sticky items.
>>
>>     
>
> There is a variable $sticky used in the node.tpl.php file of the 
> garland theme which is why I asked.
>
> Earnie -- http://for-my-kids.com/
> -- http://give-me-an-offer.com/
>
>   


More information about the support mailing list