Forum Activity

Forum feed

» see all | » latest posts

Application of categories to content in various modules  Top

Goto page: 1 - 2 [+1]

  • I need to implement a solution where I can categorise content (news, events, oppportunites, etc.) in multiple categories (and preferably subcategories), like state/province and specific interest. In Pagesetter I would create publication types and use relations to achieve this.

    With the move to .8 and the new categories there must be a way to use the categories instead and thus be able to apply the categorisation not only to Pagesetter publications, but also to Content articles, Pages, pnForum discussions?

    I do know that this is not yet possible with all modules. How far can I currently go? What can be achieved with .8RC3?
  • Robert (rgaucsh) and Mateo (netromateo) have been working on the Categories for .8 While I cannot say specifically which modules have the best support for multiple categorization there is a working solution for most of the ValueAddons.

    I am sure Mateo will be by later to give some better detail.

    --
    David Pahl
    Zikula Support Team
  • Exactly that's the point of the "last minute change" in the Categories module before the RC3 release.

    In the latest SVN snapshot the ValueAddons that supports Categorization of its items are: News, Pages, FAQ, Feeds, Reviews and Quotes. You can use Multiple Categorization and "share" common Categories between modules.

    Recently i has a problem organizing the content of a pnSite that needed MultiCategorization too, and classify all the content with a Global category, News needs a 'type of article' category, Pages a 'type of information' and Feeds just a 'type'.

    So, after RC3 multi-categorization is supported and can be used with ease (from my point of view):
    Usually, the modules register a Category Property (the 'Main' one) in the installation process; if you want to have more categories per module you just have to go to the Categories Admin Panel > Category registry and register new properties for the module in question.


    For instance, in my case i've set up the Categories Tree as:
    /Root category/Modules
    + Global
    ++ list of the global site categories...
    + News
    ++ list of the types of articles...
    + Pages
    ++ types of information categories...
    + Feeds
    ++ types of feeds...


    One defined the categories needed in the site, have to Register which ones are used by which modules, so, in the Category Registry, the table should be:

    Module | Table | Property | Category
    All the modules share the Global categories of the site:
    News | stories | Main | /__SYSTEM__/Modules/Global
    Pages | pages | Main | /__SYSTEM__/Modules/Global
    Feeds | feeds | Main | /__SYSTEM__/Modules/Global
    Each module has an specific category (second item category):
    News | stories | Type | /__SYSTEM__/Modules/News
    Pages | pages | Type | /__SYSTEM__/Modules/Pages
    Feeds | feeds | Type | /__SYSTEM__/Modules/Feeds


    If you want a third category for any of them, just define the tree and register it...
    Then, in my case, i'm using the Content module to display the items of each Global category, and for that i've built a contentype plugin for the News module (available here) and i'm building the Pages plugin to complete the work.

    So, what do you think of this Stuff? icon_cool


    --
    - Mateo T. -
    Mis principios... son mis fines
  • nestormateo

    So, what do you think of this Stuff? icon_cool


    Cool, definitely cool!

    nestormateo

    Then, in my case, i'm using the Content module to display the items of each Global category, and for that i've built a contentype plugin for the News module (available here) and i'm building the Pages plugin to complete the work.


    Sorry, I don't think I completely get this: you say you're using the Content module to display the items of each Global category and for that you've build a contenttype plugin for the News module.

    Have you created a plugin for the Content module that displays news items in a particular page managed by the Content module?
  • I'm having difficulty assigning a specific category to the content module in particular. No matter what I change in the registry, it still displays the default global categories in the content module root.

    any suggestions?

    --
    [ stevencopley.com ]
  • jaenosjelantru

    I'm having difficulty assigning a specific category to the content module in particular. No matter what I change in the registry, it still displays the default global categories in the content module root.


    Had exactly the same experience 5 minutes ago ;). Perhaps it's because the Content module does not yet support the use pf categories like some other modules do?
  • If that's the case, the only solution I see is:

    1. Use the Pages module for static content instead, ugghh.
    2. Change the global categories for what I want the content categories to be and then be forced to use those same categories sitewide, or at least everywhere else they are used and unchangeable.
    3. Wait for Jorn or Steffen to help us n00bs figure how how to do it right.

    If Jorn or Steffen could chime in here that would help. Are we just daft or is this working as intended?

    Thanks for the help!

    --
    [ stevencopley.com ]
  • jaenosjelantru

    Change the global categories for what I want the content categories to be and then be forced to use those same categories sitewide, or at least everywhere else they are used and unchangeable.


    That's actually quite a good solution for now -:). Obviously not ideal, but to get the Content module to use categories at in a valuable way for now it should work.
  • Ouch!
    I'm in the Content-dev team too and will update the new way of categories, just wait a little, Content 2.0 is almost out of the door.

    dits

    you say you're using the Content module to display the items of each Global category and for that you've build a contenttype plugin for the News module.

    Have you created a plugin for the Content module that displays news items in a particular page managed by the Content module?


    Yes, the contenttype plugin of the News module is available in the NOC.
    I'm building the plugins because IMO Content is a pretty way to integrate all the Categorized items.

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Fantastic!! After being an absolute fan of Pagesetter for years I knew that when Jorn first posted about Content I would one day dive into it as well. Now seems the time! I saw a request on Jorn site for help with plugin development. I'll dive into it.

    P.S. Obviously valuing the the work of others on the team very much as well!



    edited by: dits, Feb 26, 2008 - 09:04 PM
  • I've created a subcategory under Modules - Global called Themes.
    Now I want to create a subcategory under Modules - Global - Themes, but I can't select Themes as the parent category. Is there a limitation on the depth of the tree?
  • This sounds really cool, thanks Mateo, dits and jeanos. @ dits and jeanos: your examples really point to really what we have all been looking for in terms of asset management and presentation. & @ Mateo, your response has really been practical and pragmatic and it is much appreciated.

    I am looking forward to Content 2.0 as it will fulfill the promise of what many saw in the sections/pages module for presenting a site that was just not possible before. By keeping the tasks of the value-add-ons simple and hooked/available to an aggregating type module you have given us all stairs to climb up to the application platform where we can profess our digressions. :)

    I have liked many of the third party modules folks have come up with, however most seemed to as well stand alone, either as a response to the inability of the basic "system" to work well together/sharing data, or as a response to the limited data collected by the original design of a module. By standing alone some modules forced the path of a work flow in cumbersome and awkward manner, some to the extent that basic components were as well alienated if not obsoleted before their time. In other words the basics were ignored for grand specializations that served few. Jorn & Mateo deserve props for sticking with the basics because in the long run it unleashes more true power from the core/add-ons development that has been sitting there dormant.(You got me drifting into the world of hope and possibility.) icon_biggrin

    --
    Paul
    ____________________________________________________
    "...how can I be around so long and know so little?"
    TakeIT2.CoM :: Open Destination
  • TakeIT2

    You got me drifting into the world of hope and possibility. icon_biggrin
    Cool! i'm already on that world! icon_biggrin

    Each time that i study the PN-core i found real power there and new possibilities raises in my imagination, just limited by the 24 hours of a day...

    Currently i'm happy with the Theme development because with BlankTheme we can dream, and let fly our imagination to define any layout to the sections of our 0.8 sites.
    The hook functionality is great and we need to "discover" the ideal way to connect all the ValueAddons functionalities like here we're saying that Content does, but with a Navigation solution too, and some things that still have to code...

    I really appreciate your point of view 'TakeIT2'
    please, think/observe the ideal way to connect it all, in a "superficial" level, don't go deep in technical issues, just your dream of a mature application platform, and how it looks, the forms, the management, what functions are available, how is the ideal navigation management, some special options... and we can begin to build a clear idea to code it easiest... sometimes the code restrict our vision and time to figure out new ways...

    So, let's open a new thread and begin to define some cool features?
    I like to dream then code! icon_cool

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Not sure if this fits here, but I've had trouble with crpCalendar in RC3 - categories just won't stick. They show up in the module, you can add new ones, the category tree looks great, but when editing an event, the category just will not save (ie, mapobj record not created).

    Any ideas? Due to the RC3 changes?

    EDIT - answered in another post - RC3 categorization changes necessitated changes in crpCalendar. SVN has fixes, next released version will have fixes.

    NCM



    edited by: uheweb, Mar 03, 2008 - 03:24 PM
  • nestormateo


    Yes, the contenttype plugin of the News module is available in the NOC.
    I'm building the plugins because IMO Content is a pretty way to integrate all the Categorized items.


    Is it possible to get those plugins? I mean for Pages and News... The link to NOC is not avaiable.
    I was about to start write them, there are some instructions in Content help, but I'm affraid I'm not so good coder...

    So I'll be very appreciated for some code or files to download. I'm trying to build a site with modules integrated with Content. With some additional layouts it's much easier for redactors (no technical skills) to arrange items within pages then using blocks etc.

Goto page: 1 - 2 [+1]

This list is based on the users active over the last 60 minutes.