add html or php code

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.
Locked
planner

add html or php code

Post by planner »

I have a fresh install of version 0.13, and my question id this:

How can I add html or php code in the content creation textarea without a browser outputting the raw code?

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

Re: add html or php code

Post by Dr.CSS »

do you want it to show up like...

http://www.multiintech.com/index.php?page=imap1

you have to put {literal}your code/html{/literal}

  mark
planner

Re: add html or php code

Post by planner »

Actually the opposite effect is what I am looking for. There is really no point in having a browser display raw html code - as in your example - to the public
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: add html or php code

Post by Dr.CSS »

it was to show how to make Image Map Menu
ok... so what you need to do, at least for html, clik the source button on the toolbar and paste your code in that box....

  mark
planner

Re: add html or php code

Post by planner »

Thanks for the answer.  One other issue is with embedding javascript. when I bring up the source window and add javascript code, the output is never displayed even if I add the {literal} tag as suggested in an earlier post. Actually, only the {literal} {/literal} is displayed

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

Re: add html or php code

Post by Dr.CSS »

JS in the content edit box?
why?
usually in 
a very popular thread...  http://forum.cmsmadesimple.org/index.ph ... 424.0.html

    mark
Locked

Return to “CMSMS Core”