$Path Shows the path the user entered in the browser. $BodyID maps to the application_controller_method being called. If you don't know what to compare to you can just output the variables in default.master.tpl and browse around your applicaiton like this:
BodyID: {$BodyID}, Path: {$Path}
You can also see all of the data available to you with the {debug} tag. This will launch a popup so you may have to unblock it in your browser.
You can find the full documentation for the {if} tag here.
Comments
{if}..{/if}tags.You can use one of two variables we pass in to determine which page you are on:
{if $Path == ''}...{/if}or{if $BodyID == 'vanilla_discussions_index'}...{/if}$PathShows the path the user entered in the browser.$BodyIDmaps to the application_controller_method being called. If you don't know what to compare to you can just output the variables in default.master.tpl and browse around your applicaiton like this:BodyID: {$BodyID}, Path: {$Path}You can also see all of the data available to you with the{debug}tag. This will launch a popup so you may have to unblock it in your browser.You can find the full documentation for the
{if}tag here.Vanilla co-founder
@Todd Thank you very much!!!!