Forums / Developer / Including PHP scripts ?

Including PHP scripts ?

Author Message

Vincent Basset

Thursday 15 January 2004 1:51:52 am

Hi everybody,

I'm very new to ezPublish, and I find it very powerfull.

However, it seems to be as powerfull as difficult to manage for a new user....

Can anybody help me including PHP scripts into templates or anywhere ? (I'd like to add pages contaning PHP scripts to the website)

Thanks a lot,
Filigorn

Shurbann Martes

Thursday 15 January 2004 2:02:59 am

Filigorn,

Take a look here:
http://www.ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/including_php_files_in_templates

I have been using this include method without problems. If there's anything you don't understand, let me know.

Hope this helps,
-Shurbann

Vincent Basset

Thursday 15 January 2004 4:35:18 am

Great,

I'll try this !!!

thx :)

Vincent Basset

Friday 16 January 2004 3:24:42 am

Hi,

I succeeded including my script, but there is still a big problem : I can't manage to by-pass the template with my vars

how can I get a parameter in the url ?

thx

Björn Dieding@xrow.de

Friday 16 January 2004 6:52:26 am

Well this is might be a problem.

In gerneral you would have to write a new modul for it.

You could also try to create a operator that gets all var from the ezhttptool and parses it to your template, but hen might get troubles with the caching

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/