plainblack.com
Username Password
search
Bookmark and Share

HTMLTemplatePHP

HTMLTemplatePHP supports embedded PHP Code in your templates.

Native PHP Support for your templates.

Installation:
- install PHP-Interpreter (http://search.cpan.org/CPAN/authors/id/G/GS/GSCHLOSS/PHP-Interpreter-1.0.1.tar.gz)
- download file and put it in your lib/WebGUI/Asset/Template Folder
- edit your WebGUI.conf


E.g.:
...
<?php
 
  echo "my UserId".$session->user()->userId()."<br>";
  echo "FormParam:".$session->form()->process("formParam");
?>
...

this script is currently beta, backup your database/files before using. 

please report bugs to (lb at lb.la)

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
Comments
DownloadHTMLTemplatePHP.pm HTMLTemplatePHP.pm
LinksNo Support Offered
Statistics Downloads: 479
Views: 5621
Rating: 0
Updated: 7/14/2006
Keywords Assets Templates
NavigationBack to the Bazaar
© 2017 Plain Black Corporation | All Rights Reserved