Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- 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
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 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
- nestormateo responded to »Fillters in Clip« 24. 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
Using the categories system in .80 MS2
-
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
Maybe there should be an simple and advanced area of the categories module. Simplify the workflow for people just wanting to make simple categories for news, downloads, web links, etc. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 223
MACscr
When working on large sites with lots of categories, it can make a huge difference. Again, the categories can be set for all modules, a few modules, or just one. Heck, people think a drop down menu for the user list in admin is sufficient, but its not on extremely large sites. We got to look at the big picture on things.
MACscr: you can create a category for this kind of control, you can call this category as moduleName_Categories (or similar) and its content can be the categories used for this module.
-
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
I like how all the contact fields are pre-populated with @value4business.com .. nice touch. I think that's probably my favorite part about it. I hope it (the categories module) can be safely removed. if not, can I get the pre-objLib themes module?
edited for "clarity"
edited by: InvalidResponse, Sep 30, 2006 - 12:56 AM -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 03, 2006
- Posts: 5
markwest
So there is a need to let each modue know where in your category tree it should look for it's categories. This is achieved via the categories registry (admin->content->categories->edit category registry).
Using the news module as an example. In the first drop down (the module) select 'News'. This will populate a list of tables handled by the module into the second field - select pn_stories (the only table here...). In the third field (the property name) type Main.
Lastly select where in the category tree you want to use as the categories. A sample tree /__SYSTEM__/Modules/Quotes/Default is probably a good place to start. Click submit and now your category drop-downs will contain the categories listed in this part of the category tree.
-Mark
Tried to follow instructions on clean install of MS2 but without success. Also cannot add any category to the tree. :( -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 03, 2006
- Posts: 5
sergis
Tried to follow instructions on clean install of MS2 but without success. Also cannot add any category to the tree. :(
Updated postnuke to "PN800_20061001" and now it is possible to assign "/__SYSTEM__/Modules/Quotes/Default" to News, FAQ.
But still do not know how to add new categories to the tree (tried admin->content->categories->create category). -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
Some further updates
1) A bug with the validation code crept into MS2 that prevented categories from being created or updated. This bug has been fixed and the fix will appear in tonights snapshot
2) The current category data is a direct import from Openstar. I'd expect that data to change so I wouldn't worry about the specifc data.
-Mark
--
Visit My homepage and Zikula themes. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 03, 2006
- Posts: 5
Ok, thnx.
Will try later.
Anyway would like to ask for a short tutorial on how to use categories module... (just do not know what is "Data field 1,2,3,..", "Security domain", also do not know rules for filling "Unique name", "Value") -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 48
TO Correct the above posting...
In /system/Categories/pnadminform.php AND /system/Categories/pnuser.php AND /system/Categories/pnuserform.php
is necessary add a line pior to functions: (Top)
Loader::loadClass ('CategoryUtil');
There may be other spots also, but these are the 2 I found while trying to make Categories work.
There must be an easier way, but I can barely type let alone code. I looked in the snapshots and couldn't find working changes. I added categories to the tables directly to get them working...
P.S. Caps matters... But you knew that...
edited by: concreteman, Oct 31, 2006 - 08:40 PM -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
I've long been category functionality into modules by hand, so this Categories module seemed just the thing I needed to streamline processes. After a bit of confusion, I think I'm starting to get it.
Is it safe to assume that you only need to create a single registry entry for a given module once?
In an effort to get categories working (and before seeing this post) I created several categories for FAQs ... giving them all different names ... and they all updated to the database. However, none of them would show for FAQ's until I named one of the registry entries as "Main" for the Property name; is the expected behavior?
If you do only need to create a registry for a given module once, why did the system take more than one registry for the (FAQ) module... is there some other purpose for this?
PS! I searched the Wiki page for page looking for the info that's in this post...maybe a temp. link could be placed there (since users are supposed to read the docs, after all!) until a more formal doc. can be created.
Thanks for the added functionality.
- Alar
Oh, in IE, there is a script error on every click when expanding/collasping the graphical categories.
Quote
Line 37
Character 15
Error: 'toBeHidden' is undefined
Code: 0
- Moderated by:
- Support
