Can we run PHP scripts etc inside YACS
We would like to manipulate a MySQL database from within YACS (i.e. do more than doing the SELECT thing and build a table).
Can we execute more complex code and show it while staying inside YACS (skins, menus,...)?
Thanks in advance
Jan
Can we execute more complex code and show it while staying inside YACS (skins, menus,...)?
Thanks in advance
Jan
| Bernard from nearby-an-airport Associate, 6674 posts | Yes, with the help of some PHP scripts to interface with the MySQL database. YACS offers three different levels of Application Programming Interface (API) where such scripts can be triggered:
On top of these, you can also change template files to add extra or navigation boxes to specific pages if you like. |
Jan B![]() 85 posts |
Bernard: Can you give me some examples or places where I can find some more information? |
| Bernard from nearby-an-airport Associate, 6674 posts |
Jan B: For hooks, read the script control/scan.php. For overlays, everything is in the overlays directory, including the overlays/overlay.php interface. For skins, look in the skins directory, then check some reference template, and the generic skins/page.php script. Examples of MySQL queries can be found in articles/articles.php.
|
Rate this page
Posted by Jan B on Aug. 24 2006, commented by Bernard on Aug. 24 2006, (popular)
