Page 1 of 1

How can I show code I use ?

Posted: Wed Mar 15, 2006 9:21 am
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 !

Re: How can I show code I use ?

Posted: Wed Mar 15, 2006 9:29 am
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} ...