Help - Search - Members - Calendar
Full Version: How do I comment-out code in templates?
Movable Type Community Forum > Additional Resources > Tips and Tricks
raeba2
Hi,

I want to be able to keep code that I am not using in the templates for future use (and to help me remember).

I am using PHP for my blog. I tried both <!-- --> and /* */ methods but both did not work.

I did get the /* */ commenting method to work in the styles-site.css file. However, I cannot figure out how to do it in the other templates (e.g. index.php).

Thanks for your help...

Raeba
raeba2
Never mind, I figured it out. Thanks for looking to try to help though.

I had a space in the syntax... So, the <!-- --> worked.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.