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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
Last edited by RonnyK on Wed Sep 12, 2007 7:49 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: <code> starts code instead of showing code

Post by Dr.CSS »

You may have to use the {literal} {/literal} tags to get it not to run...
alby

Re: <code> starts code instead of showing code

Post by alby »

Is missing email params (is mandatory)

Alby
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: <code> starts code instead of showing code

Post by RonnyK »

Mark,

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

Thanks,

Ronny
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

I believe the tags are for making it look like code, changing the style the text...
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”