Page 1 of 1

CM Scripting basics

Posted: Sat Feb 07, 2009 5:55 am
by vagrant
Hi There,
I have just started using CM Simple and I am new to PHP.
A very simple question from me is where exactly do I use the

#CMSimple -----some code-------; #

When I am logged on to my site and have created a new menu item eg. Contact Us is this where I use this code to change meta tags and to add my plugins?

I am just not sure where I should be placing this.

I have the instructions on what code to use for my Asform but not sure where to put it

Cheers
Ren

Re: CM Scripting basics

Posted: Sat Feb 07, 2009 11:24 am
by Tata
Reading more in http://www.cmsimple.com/?Installer%27s_ ... _Scripting you can find
e.g.

Code: Select all

#CMSimple $keywords='some,words'; $description='A page description'; # 
or later

Code: Select all

#CMSimple hide# 
#CMSimple $output.=geturl('http://www.harteg.dk').chr(35). 'CMSimple hide'.chr(35);#
Normally a page code looks like this:

Code: Select all

<H1>Contact us</H1>
#CMSimple $output.=asform();?>