As of now, do we have any means for templates to find out whether a user is viewing pages generated by the freetag plugin, i.e. a list of entries tagged with a specific tag? (/plugin/tag/foobar)
YL
$view for plugins/freetag
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: $view for plugins/freetag
Hi!
Yes, when that happens the variable $CONST.PLUGIN_VARS_TAG contains information.
HTH,
Garvin
Yes, when that happens the variable $CONST.PLUGIN_VARS_TAG contains information.
HTH,
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: $view for plugins/freetag
Okay, so how do I use that in an entries.tpl? {if $CONST.PLUGIN_VARS_TAG}…{/if}?garvinhicking wrote:Yes, when that happens the variable $CONST.PLUGIN_VARS_TAG contains information.
YL
Re: $view for plugins/freetag
yellowled wrote:Okay, so how do I use that in an entries.tpl? {if $CONST.PLUGIN_VARS_TAG}…{/if}?
Code: Select all
{if $CONST.PLUGIN_VARS_TAG != 'PLUGIN_VARS_TAG'}…{/if}
YL