How can I show code I use ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

How can I show code I use ?

Post by fredt »

I'd like to have two lines on my page, one showing code, second executing it :

1--> Show this - not executed :
          "This page has been viewed {cms_module module="HitCounter"} times."
2-->Execute it, so it appears same as above in the editor, but shows
          "This page has been viewed 123456 times".

How can I type line 1 (Fckeditor I think) so it shows code ?

Hope it's clear...

TIA !
cyberman

Re: How can I show code I use ?

Post by cyberman »

fredt wrote: 1--> Show this - not executed :
          "This page has been viewed {cms_module module="HitCounter"} times."
The module tag must be setted in the literal tag, e.g. {literal}{your_tag}{/literal} ...
Post Reply

Return to “CMSMS Core”