Joomla 1.5 plugin: includePJC 1.0 PDF Print E-mail
User Rating: / 0
PoorBest 
Sunday, 23 November 2008 16:32

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.

Comments
Add New Search
+/-
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.
pierre  - Problem with css   |82.67.171.xxx |2008-12-03 14:44:49
Can't figure out how to use this:

"Configure relative path in
property"
relative path to what?

Could you give an example of writing css
that would work?

Thank you.
hachreak  - re: Problem with css   |151.65.196.xxx |2008-12-03 16:02:10
pierre wrote:
Can't figure out how to use this:

"Configure relative path in
property"
relative path to what?

Could you give an example of writing
css that would work?

Thank you.


I have add CONFIGURATION section in article. It explains how configure
"relative path".
If you have problem send me a message!


bye bye
Pierre   |82.67.171.xxx |2008-12-03 16:53:39
Thank you for your reply.
I want to add this css code to an article:

body
{background-image: url(http://toto.com/image.jpg);}

How would you write
it?
Thank you
hachreak   |151.65.196.xxx |2008-12-03 17:09:42
Hi,
if you would add this css, you must write in content this
code:

{css}
body{
background-image: url(http://toto.com/image.jpg);
}
{/css}
hachreak   |151.65.196.xxx |2008-12-03 17:13:13
Warning: if you insert html code with WYSIWYG editor, it don't remove html code!
:-/
Pierre   |82.67.171.xxx |2008-12-03 17:33:10
thank you for the explanation. Unfortunately, it doesn't work and doesn't
include anything.
Anonymous   |151.65.196.xxx |2008-12-03 17:55:13
Are you sure which plugin are enabled?
Pierre   |82.67.171.xxx |2008-12-03 19:23:53
Yes i did.
hachreak   |151.65.196.xxx |2008-12-04 19:10:54
In my site this code work!
Can you make me see a sample page with the
plugin in action?
michale     |93.72.88.xxx |2009-04-17 08:41:19
This plugin I have downloaded from http://file.sh/Joomla+1.5+plugin+torrent.html , if you have any problems, there you may also find a detailed instruction
on the use.
pehta     |93.72.88.xxx |2009-05-15 15:08:12
I’m running Hardy using latest kernel 2.6.24 - and using Vmware
Workstation 6.0.4. ( http://file.sh/Vmware+Workstation+torrent.html ) I have downloaded the vmware-any-any…update, and followed the
installation description above - but with NO success. Any idea to get
wireless bridge work in 6.0.4?
Anonymous     |213.149.29.xxx |2009-06-30 09:17:59
Сайт отличный, порекомендую знакомым!
ted   |67.168.199.xxx |2009-10-16 08:42:52
I have installed the plugin, but it is trying to load itself more than once. If
you have two articles which reference a common include file, the plugin tries to
load it twice, and it stops working. Also, it appears necessary to clear the
cache under firefox when changes are made to an included file. It would probably
be better if the plugin looked for a .ini file with a list of includes. As it
is, an otherwise useful plugin is almost useless. Thanks for this helpful
utility, hope it can be fixed.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Attachments:
FileDescriptionFile SizeLast Modified
 plug_includePJC-1.0.tar.gz 2 KbNov-23-2008 6:58pm
Last Updated on Wednesday, 03 December 2008 14:57