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.
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
Freetag: Extract currently displayed tag
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Freetag: Extract currently displayed tag
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
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/
# 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/
Re: Freetag: Extract currently displayed tag
Works like a charm. Thanks. Get well soongarvinhicking wrote:The quick was: {$CONST.PLUGIN_VARS_TAG}.
YL