where to put my own stuff?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Arkanis
Posts: 26
Joined: Sun 27. Mar 2005, 23:20
Location: Winterthur, CH

where to put my own stuff?

Post by Arkanis »

Hello again :)

Where should I put my own code so it works with phpwcms but doesnt affect the core code?
So I can update phpwcms as many times i want without losing my changes.

For example a replacement-tag or such a thing.

I had several things changed manually. Of course I have to insert all things again because I have updated phpwcms.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

put it in /phpwcms_template/inc_script/frontend_init
or ......./frontend_render

see sample.php there
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
iceman
Posts: 82
Joined: Tue 13. Jul 2004, 09:44
Contact:

Post by iceman »

Hi

This "inc_script" directory does not exist for me in 1.1RC4. Is this only compatible for newer 1.2.1+ versions?
iceman
Posts: 82
Joined: Tue 13. Jul 2004, 09:44
Contact:

Post by iceman »

ah just found why.

I am running 1.1RC4 22/06 but the frontend_render stuff was introduced in the 27/08 version.

doh
Post Reply