Loading...
 
Skip to main content

Architecture / Installation


posts: 215

The 'Sorry, no such module' message comes from the plugin named "module", and it displays the missing module's name: 'directory_category'.

In your previous Tiki version, you must have a custom module named 'directory_category' and you don't have a custom module named that in your current Tiki version.

This was interesting. I have used the plugin module many times and I never thought to use it with a custom module. There is even a note in the PluginModule documentation that says "Note: This plugin works only with the basic modules, not with the user modules". But, I just tried it on a Tiki 9 site, and I was able to use one of my custom modules with the plugin module (it displayed in a narrow column, but that is set by plugin module).

Tom

posts: 34

thanks for the reply...

i did not write this plugin and don't have php coding skills:

i have put the file mod-directory_category.php in the modules folder - is this the right place?:

mod-directory_category.php


posts: 215

So it is a user written module and not a custom module? I have never created a module before.

I think the modules folder is the correct place for it, but all the modules in that folder begin with the prefix "mod-func-", does yours?

You might also want to check the templates/modules folder to see if whoever wrote it also wrote a template (.tpl file) to go with it.

Tom


posts: 34

thanks the .tpl fixed it - but my custom module doesn't work with the new version.... meh

Is there now a way of listing directory links at the bottom of a wiki page and having the links shown only the ones related to the wiki page?

- this broken module previously did this by using the wiki page name to match the category name.


posts: 215

I have not used the Directory feature, so I don't know all the options available. I looked through the Directory documentation and I don't see a way to do what you are asking.

The person that created the directory_category module probably based it on one of the existing modules:
mod-func-directory_last_sites.php
mod-func-directory_stats.php
mod-func-directory_top_sites.php

Try comparing those modules to the same modules in your previous Tiki version. Maybe you can find what changed between the versions, and it might help identify why your directory_category module is not working.

What version of Tiki did you upgrade from? And what version did you upgrade to?

If comparing the modules doesn't help, I recommend you start a new topic asking for help with the Directory feature, since the topic of this thread has now changed. You might get someone more familiar with Directories to help.

Tom


posts: 34

- yes user written module
- upgrade from 2.2

thanks Tom