Page 1 of 1
add html or php code
Posted: Sat May 27, 2006 2:37 pm
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
Re: add html or php code
Posted: Sat May 27, 2006 7:32 pm
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
Re: add html or php code
Posted: Sun May 28, 2006 2:41 am
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
Re: add html or php code
Posted: Sun May 28, 2006 3:30 am
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
Re: add html or php code
Posted: Sun May 28, 2006 12:44 pm
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?
Re: add html or php code
Posted: Sun May 28, 2006 1:04 pm
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