Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


About tiki Mods

posts: 32 Iran

I just installed tikiwiki v1.9.0 -Sirius, and after seting up `redirect` MOD using 'admin mods', I tried to make a test wiki page to see how it works. I made a page with the following contents:
{REDIRECT(page=>test)/} but right after saving it, I got a `WARNING: No such module REDIRECT!` message.

I took a look at `mods` directory and everything seemed to be fine (there was a `wikiplugin_redirect.php` in `mods\wiki-plugins\redirect\wiki-plugins`).

Any idea or explanatin would be highly appreciated!

By the way, the server's operating system is Windows 2000 server.

posts: 2881 United Kingdom

wikiplugins will only work from lib/wiki-plugins folder. And Redirect has been included with TikiWiki since version 1.8! Look in lib/wiki-plugins-dist for the real one!

Damian
http://tikihost.net


posts: 32 Iran

Dear Damian,
I knew that wikiplugins would work from `lib/wiki-plugins`, and as a matter of fact, I was the one who suggested the `redirect` plugin, but my question is:
If wikiplugins must be in `lib/wiki-plugins`, so, why `tiki mods` installs them on 'mods/wiki-plugins', end even worse, makes more directories in it according to plugin's name, such as, `mods/wiki-plugins/redirect/wiki-plugins`?????

If this is the case, so what is the philosophy behind `tiki mods`? I read many documents about `tiki mods`, but none of them explained it clearly. For instance, I don't know what should I do after installing them? How can I write one of my own, and if I want to override (expand) some functionality ot tw using them, how can I do the job!!

Thank you in advance for your ever support.


posts: 23 United Kingdom

I have began to decipher how mods work.
When you download a mod from the list server, or a local mod, you decompress its contents into the mods directory, which is why you end up with a set of directories there.

The files that are decompressed also include information files with the name and type of the module, licensing information, listing and development pages as well as installation information.

As part of the mod install - it uses its config file to specify where to copy files in the mods from, and where to. Normally from the directories under the mods tree, to directories in the real wiki tree.

With mod it is not merely enough to download them, but you must make sure you have pressed the install button too.

I hope that helped.


posts: 32 Iran

Thank you orionrobots,
It really helped me out!