Welcome, Guest. Please login or register.
Did you miss your activation email?
23 Jul 2008, 14:09

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: commenting out [solved]  (Read 189 times)
0 Members and 1 Guest are viewing this topic.
hj
Forum Member
*

Karma: 0
Offline Offline

Posts: 39


« on: 07 May 2008, 07:46 »

Very simple question.....I want to comment out a piece of code in the template so it doesn't show - in this case the news module.

What symbols do you put around the code to comment it out?

Code:
{* Start News *}
      <div id="news">
         <h2>News</h2>
          {news number='3' detailpage='news'}
      </div>
      {* End News *}

I know I could take it out altogether, but I want to leave it 'intact' in case I need to re-invoke it.

thx
« Last Edit: 12 May 2008, 04:55 by hj » Logged
mark
Available for Consults
Support Guru
Power Poster
****

Karma: 116
Offline Offline

Posts: 5070

Location: Arizona


Keepin an eye on that server...


WWW
« Reply #1 on: 10 May 2008, 17:03 »

The best would be to use the same as the ones above and below it...

{*       *} ,these will make it not even show in the source of the page,  if you use the standard comment out technique, <!--  -->  these will leave it showing in the source, it may show in IE6...
Logged

Go to Extensions » Modules/Tags click the name of the module/tag or the word Help to the right to get the parameters it takes...
Want to try CMSMS... http://cmsmsdemo.com/... Brought to you by Nullig.
Not sure what ver. CMSMS, PHP, server OS, etc. try the Support Tool in your page...
CMSMS hosting available now, with installation, let me know if your interested...
hj
Forum Member
*

Karma: 0
Offline Offline

Posts: 39


« Reply #2 on: 12 May 2008, 04:54 »

Thanks for that, Mark - got it sorted, cheers!

HJ
Logged
Pages: [1]
Print
Jump to: