Loading...
 
Skip to main content

Features / Usability


how to install PluginInclude?

Hi all,

I'm new to tikiwiki so apologies if there's an obvious answer to this, but I wasn't able to find anything in documentation or on forums.

I'd like to install the PluginInclude (so I can include content from one page in another), but I can't seem to figure out how to install it. The Tiki Documentation says to install from the Tiki Mods RepositoryQuestion but I don't see the "include" feature listed there. Is it contained inside one of those packages and not explicitly listed, or was the PluginInclude feature deprecated? I'm using Tiki 1.9.7.

Any advice on how to add this feature — or an alternative that accomplishes the same thing — would be greatly appreciated!

> Hi all,
>
> I'm new to tikiwiki so apologies if there's an obvious answer to this, but I wasn't able to find anything in documentation or on forums.
>
> I'd like to install the PluginInclude (so I can include content from one page in another), but I can't seem to figure out how to install it. The Tiki Documentation says to install from the Tiki Mods RepositoryQuestion but I don't see the "include" feature listed there. Is it contained inside one of those packages and not explicitly listed, or was the PluginInclude feature deprecated? I'm using Tiki 1.9.7.
>
> Any advice on how to add this feature — or an alternative that accomplishes the same thing — would be greatly appreciated!

So I found an answer to the above and am posting in case it helps someone with a similar question. It's actually a simple procedure as long as you have access to the /tiki/ directory on your machine or with your web host.

To install:

  1. Navigate to the following directory: /tiki/lib/wiki-plugins-dist/
  2. Copy the wikiplugin_include.php file to the following directory: /tiki/lib/wiki-plugins/

Image
Copy to clipboard
cp /tiki/lib/wiki-plugins-dist/wikiplugin_include.php /tiki/lib/wiki-plugins/


The plugin should now work. To pipe content from one wiki page to another (e.g. for a round-up or overview page), all you have to do is insert the following code into a page:

Image
Copy to clipboard
{INCLUDE(page=>name [,start=>start-marker] [,stop=>stop-marker])}{INCLUDE}


The Tiki documentationQuestion has more info on usage.

Cheers.