Page 1 of 1

[solved] <code> starts code instead of showing code

Posted: Wed Sep 12, 2007 6:53 pm
by RonnyK
I added the following text to a page in CMSMS 1.1.2:

Code: Select all

<p>De standard tag <code>{contact_form}</code></p>
Instead of showing the code, it runs the code.

See this page for the result:

http://www.krijt.eu/index.php?page=showcode

What's wrong with my text?

Ronny

Re: <code> starts code instead of showing code

Posted: Wed Sep 12, 2007 7:38 pm
by Dr.CSS
You may have to use the {literal} {/literal} tags to get it not to run...

Re: <code> starts code instead of showing code

Posted: Wed Sep 12, 2007 7:43 pm
by alby
Is missing email params (is mandatory)

Alby

Re: <code> starts code instead of showing code

Posted: Wed Sep 12, 2007 7:45 pm
by RonnyK
Mark,

that solved it, but I was thinking that putting it inside would already show code instead of running it.

Thanks,

Ronny

Re: [solved] <code> starts code instead of showing code

Posted: Wed Sep 12, 2007 7:50 pm
by Dr.CSS
I believe the tags are for making it look like code, changing the style the text...

Re: [solved] <code> starts code instead of showing code

Posted: Wed Sep 12, 2007 7:52 pm
by RonnyK
I know, I'm mixing forum-code and CMSMS-code at the moment, and off-course logic will never run on the forumĀ  ;)

Thanks.......

Ronny