if I want to add a custom div in layout.tpl what other files need to be edited and what needs to be set
thanks
zapper wrote:
Where would this link?
This one links to the "mymenu" style as defined in the css that the layout.tpl is linked to. In standadrd Open Cart, this would be the default.css
This would link to whatever you defined $mymenu to be in the controller file
eg If you are in a product page, then look for $mymenu in the product.php file. See what it is defined as.
You could define $mymenu to be "Look at me" in the .php
Then call up $mymenu variable in the layout.tpl and it will echo "Look at me".
Did I get it right Q? Can I take off my "L" plates now

Who is online
Users browsing this forum: No registered users and 3 guests