[solved] including 'code' in content/page
Posted: Mon Oct 22, 2007 6:21 pm
Hello all,
Sorry to dive in with my first post being a question, but I am looking to move one of my sites from mambo to CMS Made Simple and have come unstuck very early on.
The site will illustrate modifications and additions to a firewall product called IPCop. In the instructions I need to paste changes to the code. When I tired this I found that CMS Made Simple has interpreted the code and used it for it's own purpose. THe end result being a messed up content page.
As an example the code section:
renders as
There are other examples on my first page, but I suspect someone here has the answer to my dilemna
TIA
Allan
Sorry to dive in with my first post being a question, but I am looking to move one of my sites from mambo to CMS Made Simple and have come unstuck very early on.
The site will illustrate modifications and additions to a firewall product called IPCop. In the instructions I need to paste changes to the code. When I tired this I found that CMS Made Simple has interpreted the code and used it for it's own purpose. THe end result being a messed up content page.
As an example the code section:
# my $LQ_GATEWAY=`netstat -r | grep ^default | awk '{print \$2}'`;
# or I found better...
renders as
# my $LQ_GATEWAY=`netstat -r | grep ^default | awk ' Print this page'`;
# or I found better...
#
There are other examples on my first page, but I suspect someone here has the answer to my dilemna
TIA
Allan