Loading...
 
Skip to main content

Features / Usability


"include" command

Hi!

One of the features of HTML and PHP that I find very useful is the "include" command. Using "include" may slow a page output. However, it makes it easier to add, edit or remove repeated sections of related pages, such as those in the same category.

Is there an equivalent of the "include" command that may be used also in either the Wiki or Articles sections and in other sections of the Tikiwiki?

Thanks.

cgc0202

There is a plugin in lib/wiki-plugins-dist/wikiplugin_include.php in your distribution.
You have to move it to lib/wiki-plugins to able to use it.
It allows you to include a part of a part of it in a wiki text (see details in the code of the file or in the wikiplugin help)
This pluglin must be used with cautious as it can be recursive... or can have some permission problem

sylvie

> There is a plugin in lib/wiki-plugins-dist/wikiplugin_include.php in your distribution.
> You have to move it to lib/wiki-plugins to able to use it.
> It allows you to include a part of a part of it in a wiki text (see details in the code of the file or in the wikiplugin help)
> This pluglin must be used with cautious as it can be recursive... or can have some permission problem
>
> sylvie

Thanks Sylvie. I will defer using it, for now — based on your caution.

cgc0202