Page 1 of 1

Freetag: Extract currently displayed tag

Posted: Thu Oct 15, 2009 4:26 pm
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

Re: Freetag: Extract currently displayed tag

Posted: Thu Oct 15, 2009 6:32 pm
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

Re: Freetag: Extract currently displayed tag

Posted: Fri Oct 16, 2009 11:27 am
by yellowled
garvinhicking wrote:The quick was: {$CONST.PLUGIN_VARS_TAG}.
Works like a charm. Thanks. Get well soon :)

YL