Let say I have following structure of categories:
-Global
--Sport
---soccer
---baseball
--music
is there a way to show/submit news article in soccer and baseball subcats?
dropdown shows only Sport and Music
same thing with categorylist page...
if this works for News 1.3 can it be ported back to 2.6..x?
News 2.6.2 Zikula 1.2.8 can not use zikula 1.3 becouse host does not support needed PHP version
p.s.
parameters for exmle for soccer:
Category is locked---unchecked
Category is a leaf node--unchecked
Value---empty
Sort value--0
Active ---1
Same for parent
Edited by shoshia on Jan 22, 2012 - 12:33 AM.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- 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
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
CategorY Levels in News 2.6.2
-
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
-
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
Can this be done by enable attributes for category and tie there Second category for News?
For example I have Global(with Sport) and its subcats for Main cat
and Subsports as Second Category for News -
- Rank: Softmore
- Registered: Sep 13, 2010
- Posts: 105
Actually quite simple.
- Global
- - Sports
- - Music
- News Publisher
- - Sports topics or Type (not needed it's only for tidiness)
- - - Baseball
- - - Football
- - Music topics or Type (not needed it's only for tidiness)
- - - Rock
- - - Pop
In Category registry:
News news Main /__SYSTEM__/Modules/Global
News news Topics /__SYSTEM__/Modules/News (Topics is only an Example, it can be Type etc)
In News you enable Categories, and you will have to Category Select fields.
--
Carl Georg aka Mazdev
Jerindo.net - Ruminations of an Expat in Indonesia & Webdevelopment
-
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
Thats 3 dropdawns right?
one is:
- - Sports
- - Music
second:
- - - Baseball
- - - Football
and third:
- - - Rock
- - - Pop
and not tree like
"not needed it's only for tidiness"
this tides to News module not to Category... -
- Rank: Softmore
- Registered: Mar 10, 2005
- Last visit: Mar 18, 2010
- Posts: 288
wow..it worked :) ..I was mising one top level cat for tidiness ....and did not use "module/News Publisher" but different --created " Global/Sometopics" ....
thanks -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
So you have it working now? You can do a lot with categories by specifying them in the registry and thinking indeed in that way.
--
campertoday.nl, Module development, Dutch Zikula Community
- Moderated by:
- Support
