Re: Comment out unused code in template?
Comment it out. While deleting it may look like a cleaner solution leaving the code in there commented out will not hurt and as you said - it is there if you need it later. Smarty completely ignores anything commented out and it does not show in the html code as well. And use smarty comments {* *} not html comments <!-- -> - html comments will show in final html code.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|