[themes] node footer $links
Heine Deelstra
info at ustilago.org
Fri Feb 3 20:14:57 UTC 2006
On Fri, 03 Feb 2006 20:49:18 +0100, josh on <josh at theyrule.net> wrote:
> I want to theme a the links on the bottom of blog entries - so the when
> it says "read more", and
> "[user]'s blog" they are wrapped in a span or div with a class that puts
> in a bg-image and rollover
> info.
> I can't work out out where the $links array is constructed... is it deep
> inside Drupal? I tried
> tracing it back a few steps - but am worried that this might not be
> possible - because the further
> back you go the more generic the function seems to be - and determing
> whether something is a link in
> a node footer might not be possible.
$node->links is an array. You can foreach() over the array and output each
link with a span or div. If you want to do a little more magic, perhaps
you can use http://drupal.org/node/21538#comment-81773.
--
http://pctips.ustilago.org
More information about the themes
mailing list