Loading...
 
Features / Usability

Features / Usability


PluginCategory for Files?

posts: 758 United States

Is it possible to display files with the PluginCategory? I currently have a PluginCategory at http://thepatriotwoodwiki.org/Botany and I have tried to use:

Copy to clipboard
{category id="1" types="wiki+file" sort="itemId_asc,name_asc"}


But I can only get the category title and the wiki page to display that resides in that category. Not the file that resides in that category.
Any help is greatly appreciated!
John

posts: 758 United States
Thanks a million Rick, let me play with it and I'll report back.

posts: 1563 Germany

Hi John and Rick,

my idea is likely more for a new setup and not for an existing site with lots of categorised existing uploaded files. So ...

Supported object types (from PluginCategory ):

Copy to clipboard
article, blog, blog post, fgal, forum, igal, newsletter, event, poll, quiz, survey, tracker, wiki, img


fgal => refers to file gallery, not files
wiki => obviously refers to wiki pages

idea from there:

tracker might refer to tracker items and not necessarily to or to only trackers (hopefully)

In case I would be right, a more or less simple tracker could be created with a field "files" which could be connected to a file gallery. Then a field category and maybe a template for item display (optionally).

Then the files could be found in the PluginCategory and same time accessed (and pre-filtered) with PluginFiles and accessed in the file gallery (but only in one gallery per tracker).

This setup might make sense in some use cases and not in others. I have some use case where I prefer document management based on trackers over file galleries, although even there the remaining file gallery functionality is still handy and necessary.

Otherwise back to Ricks idea, if my idea was not appropriate for your use case: You might use maybe some kind of two culomns (two divs class=col-md-6 inside a div class=row, where you can use the PluginDiv. One side the PluginCategory and the other side the PluginFiles.

Am just thinking, hope that helps, regards,
Torsten


posts: 758 United States

Thanks Torsten for your reply,
It may help to demonstrate what my idea is, and it may be a flawed idea to begin with. My objective is to have a main landing page for our main categories. I guess you could equate it to a category portal of sorts.
The goal of a category landing page would be to let our users know what the category is use for, and what type of pages should be created in that main category.
So I would like a one stop place for new users to go to, the category landing page, where they can understand what the category is for, and where they can see listings of existing wiki pages and files in that category.
So the category landing page would be a one stop shop if you will.

I have a doku wiki instance running where I was able to achieve this well. If you can please see at http://tpwtestuser.com/doku/material-processing
I opened that category up for anonymous editing so you can see what I am trying to achieve here with my Tiki. Otherwise you would not be able to see the two boxes to create a page and use a template.

When you view my Doku page Material Processing, you'll find a list of pages that were created, and a list of files that were uploaded into that category. And you'll also see two fields, one for creating the page, and one for choosing a template to create the page with. This is the one stop shop page I am trying to achieve with our Tiki.
Can I do this with Tiki, I know I can, I just don't know how yet. Doku was easy to set up for this, I am struggling a tad with Tiki, but only out of my own ignorance of Tiki.
Any feedback is greatly appreciated!