|
Innauguro la categoria progetti per joomla con questo plugin per joomla 1.5 utile quando bisogna includere in un documento codice php/jscript/css/html.
Allows including php, javascript, CSS and HTML in content. Based on includePHP version 1.1.1 for Joomla 1.5.
Note: for .js e .css, it include in head tag.
HOW USE
Configure relative path in property e insert tag in content:
{php}code you want to execute;{/php}
{phpfile}relative/path/file.php{/phpfile}
{js}alert("Code you want to run");{/js}
{jsfile}relative/path/myjsfile.js{/jsfile}
{css}.csscode{];{/css}
{cssfile}relative/path/mycssfile.css{/cssfile}
{htmlfile}realative/path/file.html{/htmlfile}
CONFIGURATION
Open in administration "Extentions -> Plugin Manager" and edit property of plugin.
For example, If you enter in content this:
{cssfile}pippo.css{/cssfile}
When plugin find the css name, it construct the path of file with:
$mosConfig_live_site/$relpath/pippo.css
$relpath is the Relative Path in configuration.
CHANGELOG
1.0 * This version is based on includePHP version 1.1.1 for Joomla 1.5. (http://www.joomlaperformance.com/)
* Extend this version for include also css files.
* Add variable "relative path" for collect files in a sub-directory of site.
* Include javascript e css in <head> HTML tag.
|