includePJC 
Version
1.0 (last update on Dec 3, 2008)
Rating
Compatibility
Votes
2
Favoured
5
License
GPL
Non-Commercial
Type
Views
3230
Date Added
2 December 2008
Note: for .js e .css, it include in head tag. HOW USE Configure relative path in property e insert tag in content:
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.
bycosmotopper on October 12, 2009
I was able to figure out how to make this work, but only after quite a bit of trial and error. The documentation (barely qualifies as such) is very confusing. I would strongly recommend a few examples, and a clear definition of the 'relative path' parameter. All that said, I have found this very useful. (Thank you!)





