Freetag: Extract currently displayed tag

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Freetag: Extract currently displayed tag

Post by yellowled »

Sorry about the posting frenzy lately, but this one is (almost) impossible to search (or find, for that matter). I promise, I'm (almost done). Seriously. :mrgreen:

Here's what I need: When clicking a tag assigned to an entry, users get a list of entries for that particular tag. Something like http://matthias.yellowled.de/plugin/tag/ports.

Now, what I need in this view is the name of the selected tag, in this case: ports. Just that, w/out PLUGIN_EVENT_FREETAG_USING -- I believe the name for that variable in the freetag plugin is $tagTitle, but I can't seem to address that variable from a template file, can I?

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Freetag: Extract currently displayed tag

Post by garvinhicking »

Hi!

The quick was: {$CONST.PLUGIN_VARS_TAG}. Don't ask me why its not a simple smarty variable at that place, probably because its required inside the PHP code somehow. Plus, a $plugin_vars.tag should be avaialbe, but i don't know where that's routed to exactly right now.

Did i mention I just caught the flu?

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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Freetag: Extract currently displayed tag

Post by yellowled »

garvinhicking wrote:The quick was: {$CONST.PLUGIN_VARS_TAG}.
Works like a charm. Thanks. Get well soon :)

YL
Post Reply