ravindranathk Posted November 3, 2009 Share Posted November 3, 2009 Hi,i have been trying to comment some html codes in the module templates. I used the smarty comments {* and *} but its showing up in the site and code too. What is the problem ? Link to comment Share on other sites More sharing options...
rocky Posted November 3, 2009 Share Posted November 3, 2009 The only reasons I can think smarty comments wouldn't work is if you are using them between {literal}{/literal} tags or if you are using them in a file that isn't a tpl file. It is hard to help without more information like which file you are trying to use the smarty comments in and what the code is. Link to comment Share on other sites More sharing options...
ravindranathk Posted November 3, 2009 Author Share Posted November 3, 2009 {* <!-- <input type="text" id="dwl_url" name="dwl_url" value="http://"> Invalid URL --> *} the output shows{* *} in the content side.i am trying to add comments in the module i created. Link to comment Share on other sites More sharing options...
rocky Posted November 4, 2009 Share Posted November 4, 2009 I can't see anything wrong with that code that would cause comments to not work. If you PM me your module, I can investigate further. 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