b22c Posted April 19, 2013 Share Posted April 19, 2013 (edited) Hi instead of delete one line of code to remove something on my site i want to disable the line of code instead of deleting. I dont want to delete the line just disable that line of the code to in the future i just enable the line again. I know that i should put something on the beggining and at the end of the line but i just dont remember what. Cheers Edited April 20, 2013 by b22c (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted April 19, 2013 Share Posted April 19, 2013 if it is a smarty template (ends in .tpl), then you use {* *} as comments Link to comment Share on other sites More sharing options...
b22c Posted April 19, 2013 Author Share Posted April 19, 2013 if it is a smarty template (ends in .tpl), then you use {* *} as comments Hi i put this way but dont work, the * is displayed on the frontend of the site. *<li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li>* Link to comment Share on other sites More sharing options...
b22c Posted April 19, 2013 Author Share Posted April 19, 2013 Just found it, i must put {* before and *} at the end of the line. Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now