So I have read this doc, and this post, and I think there is something missing from News/Categories:
The ability to see a list of all Categories assigned to the News Module.
For instance, if I am using Categories for categories on my news module and have changed things in the Category registry to reflect this, there should be a way to view all of the categories for the module. I can't seem to find a way to do this. Topics used to do this. This is absolutely required to use News for a blogging platform.
I think it is necessary, in addition to archives, the news menu links included this, if the module uses categories:
[ Lead Page | Categories | Archive | Submit Article ]
Should I open a feature request in News or Categories for this?
edited by: jaenosjelantru, Feb 01, 2009 - 11:33 AM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Displaying All Available Categories for News Module
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
I think you should post the ticket with News. Categories already supports this (see Pages for example, where you get the list of categories for Pages in the main function).
In News an extra function and template could be made to list the available Categories for News, maybe with some options to list for example the number of articles in that category of whatever.
Indeed this was a nice option of the old Topics module, but not so hard to make for News with Categories as well. Pages already support a list of categories.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
-
- Rank: Softmore
- Registered: Nov 30, 2005
- Last visit: May 07, 2010
- Posts: 104
espaan
I think you should post the ticket with News. Categories already supports this (see Pages for example, where you get the list of categories for Pages in the main function).
In News an extra function and template could be made to list the available Categories for News, maybe with some options to list for example the number of articles in that category of whatever.
Indeed this was a nice option of the old Topics module, but not so hard to make for News with Categories as well. Pages already support a list of categories.
Pages just lists the Global categories.
I thought I would be able to add categories under the Pages entry and have those show up as the list of categories for Pages and not the list of Global selection.
Is there a way to select certain categories for certain modules?
I don't understand how this works.
When I go to the admin page for categories there is an entry for Pages (_PAGES_NAME) and if I add a leaf node to the Pages it doesn't show up in the list for Pages.
Also, I have no idea what the attribute section is used for or many of the other things you can do in the admin page for categories... is there documentation anywhere for this? -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
BTW this post was about a categories list for the News module, you could start a new topic with your questions
They are not really related to the original topic.
But to answer some of you questions:
Pages lists the categories assigned to Pages. This is by default the Global categories. You can set the categories to use in teh Category Registry. So when you add a global category it will also show up for Pages. If you want the leaf node for Pages to appear you have to set this leaf as the category "tree" in the Category Registry.
I can understand that it is hard. There is not that much documentation about this part. I've learned about how to use the categories from the forum, trying yourself and coding for the News module.
The attriutes are extra variables you can attach to a certain category. I know only of the News module using it for the topic image setting.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Softmore
- Registered: Nov 30, 2005
- Last visit: May 07, 2010
- Posts: 104
Thank you thank you thank you!! Exactly what I needed to know... I am slowly getting up to speed with Zikula!
Sorry I posted in the wrong place... I keep trying to get that right but I seem to mess that up.
- Moderated by:
- Support
