Tags:
create new tag
, view all tags

SID-00939: BlogAddOn Select Categories

Status: Unanswered Unanswered TWiki version: 4.3.0 Perl version:
Category: CategoryPlugins Server OS: Linux Last update: 1 year ago

I am using the BlogAddOn Plugin to create a forum where my users can post information on various programs that I have documented on my TWiki site. These individual programs are grouped together in larger Modules, and the topics for the modules are actually INCLUDEd topics for all the programs.

What I am trying to do is make it so that, while the user is in the Module's topic, the list of available categories in the INCLUDEd BlogPost is restricted to the programs in that module.

So, for example, I may have a Module called "Fruit", and it INCLUDEs the programs: Apple, Orange, and Peach. So, the BlogPost Category drop-down menu will list:

Banana
Orange
Avocado
. . . and the user will select one to view that program's blog posts.

I know this can be done by modifying the BlodPost SEARCH parameters, but the problem with that is that I have multiple Modules, with mutiple programs, and sometimes a single program appears in more than one Module (e.g., Avocados may also be part of the Vegetable Module). Making a separate BlogPost for each module will not be feasible.

What I would like to do (if it's possible), is feed the list of categories to the SEARCH through the BlogPost INCLUDE through the category="" parameter, as follows:

%INCLUDE{"BlogWeb.BlogPost" sortdirection="descending" category="Banana, Orange, Avocado"}%

Question: Is this possible, and if so, what is the correct syntax for Banana, Orange, and Avocado?

-- JamieBenjamin - 2010-08-10

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a subscription for support or engage one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-10-06

Change status to:

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
SupportForm
Status Unanswered
Title BlogAddOn Select Categories
SupportCategory CategoryPlugins
TWiki version 4.3.0
Server OS Linux
Web server Apache
Perl version

Topic revision: r2 - 2010-10-06 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.