Re: PhilJ's Advanced Speedbar - Smarty question re: id="current" - $main eq "X"
hi,
sub is the name of the variable i chose
my_page_name is what we assign to that variable
I was making a css nav menu and wanted to show what section i was currently in. eg help / products / checkout etc
so in help.php i would add assign sub to help etc.
this just allowed me to know what area of the site i was on as well as already having the value of {$main} if I needed to
help.php - deals with help type stuff
products.php & product.php dealt with most of the shop side of things
cart.php was mainly the checkout stuff
and so on
|