CM Scripting basics

General questions about CMSimple
Post Reply
vagrant
Posts: 1
Joined: Sat Feb 07, 2009 5:21 am

CM Scripting basics

Post by vagrant » Sat Feb 07, 2009 5:55 am

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

Tata
Posts: 3601
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: CM Scripting basics

Post by Tata » Sat Feb 07, 2009 11:24 am

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();?>
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply