Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Re: are these bugs?

posts: 4662 Japan

> Question #2 -
>
> last_category_objects shows nothing what-so-ever. Any ideas why?

A category Id has to be specified in the Parameters box on the Admin Modules page, something like id=4 (use lowercase i). There's also a "type" parameter, which I found out by looking at mod_last-categorized-object.php, which should let you indicate wiki page, blog, file gallery, etc., but I couldn't get it to work. That's why the module has the title "Last wiki page". "wiki page" is supplied via a variable as the type and should reflect the parameter, if things work correctly. (Actually the module title should be something like "Last wiki page categorized" or "Last-categorized ($type)", to be accurate.)

I don't know how the user can know the category Id without looking at the database directly (categId in the tiki_categories table). Also, this Id is for a specific category only. There seems to be the option of using id=*, to return all categories, but I couldn't get that to work. I guess either my syntax to use for parameters was wrong (and I tried a bunch of different ways), or else something's broken.

-- Gary

There are no comments at this time.