Jump to content

[Solved] Disable code


Recommended Posts

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 by b22c (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...