php script

kondrei

Avatar: kondrei

2009-03-26 19:09

How can i put a php script in ONE page?
I do that when i put php script in content.tpl or other page in /template folder, but i want to put a script just in single page, eg. first page not to all pages.
Can anyone welp me?

» Quick.Cms v2.x

treewood (OpenSolution)

Avatar: treewood

2009-03-27 07:49

kondrei - please read that:
http://opensolution.org/Quick.Cms/docs/?id=tips#templates_-_changing_middle_part_of_the_site_on_particular_subpage

kondrei

Avatar: kondrei

2009-03-27 09:19

Thaks for the answer.
I do what it's write there but i do not understant at all.
Where exactly can i put my own code im my tpl file, because it not showen on page?

Only here: <!-- BEGIN BANNER --><style type="text/css">
</style> my code <!-- END BANNER -->

when i put code is executed.

But i need to put in middle of that page to executed but i can't execute it.

Thaks

kondrei

Avatar: kondrei

2009-03-27 09:55

Ok, i dit it!
Have to put the code in <div id="page"> my code </div>.

Thaks again!

Back to top
about us | contact