- now you can add parameters to you scripts
- sample: {SCRIPT:my_script.php:param_a,param_b}
Update: 12.11.2006
- Some small changes
- Tested with phpwcms 1.2.8, Firefox 1.5, Internet Explorer 6
I think, most people don`t know for what this MOD is good.
You can easy add small php-scripts to you content and change the scripts from the admin-area.
My gallery-script for example:
- add the script to a content {SCRIPT:gallery.php}
- open the script in the edit-area of the MOD
- change the gallery-parameters to you needs
- upload some images in you desired folder
- example: http://www.surfclub-bernau.de/surfclubc ... hp?galerie
I use this MOD very often for all the little 'php-scripts' I need on my sites
Hi,
I made a small MOD to add and edit your own php-scripts.
You can insert the php-code with a replacement-tag in your templates or content.
Testet with phpwcms 1.2.6 on some servers.
If you find errors, please write it here.
PHP Scripts v.1.0
The MOD ID is 778, but it`s easy to change.
Copy the directory "mod_php_scripts" into this directory "include/inc_module" and read the instructions for installation in install.txt.
The replacement-tag is: {SCRIPT:script-name}
There are only some lines of code to add in the following files:
- phpwcms.php
- include/inc_front/content.func.inc.php
Download it here: mod_php_scripts.zip
Here is a screenshots:
![Image](http://filez.wireframe.de/mod_php_scripts.jpg)