![]() |
Products.tpl and dialog.tpl
This question may seem obvious, but I can't seem to find where the products.tpl gets the dialog.tpl from. Usually the page I am editing will have something like
{capture name=dialog} at the top. But, for products.tpl (skin1/customer/main) there is no {capture name=dialog} to edit. Could someone shed some light on this and hint to me where the products.tpl file gets the dialog tpl from so I could edit it instead of editing dialog.tpl itself. Thanks in advance, Mike. |
what is capture anyway and what does it do?
|
products.tpl is called in subcategories.tpl i think
EnriqueHavoc, for info on capture see http://smarty.php.net |
Quote:
Capture is used to collect the output of the template into a variable instead of displaying it. Any content between {capture name="foo"} and {/capture} is collected into the variable specified in the name attribute. The captured content can be used in the template from the special variable $smarty.capture.foo where foo is the value passed in the name attribute. If you do not supply a name attribute, then "default" will be used. All {capture} commands must be paired with {/capture}. You can nest capture commands. |
Thanks shan, that is where it can be located.
-Mike |
yea... that is where it is at. You will find the closing tag and the call to dialog.tpl near the bottom.
|
All times are GMT -8. The time now is 10:15 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.