Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Owen Hope 119 posts 140 karma points
    Sep 28, 2011 @ 20:53
    Owen Hope
    0

    Add Category DataType to Umbraco

    Hello.

    I am interested in implementing a "Category" datatype much like those found in uBlogys and Blog4Umbraco.

    Basically I am creating directory of Recipes and I would like the following functionality:

    • Lets say we have a parent node named "Soups"
    • Now we have another parent node named "Favorites"
    • Under "Soup" we have a child node "Chicken Noodle" it has the Category "Favorites" selected.
    • Now if I created a user control to list our Parent nodes. "Chicken Noodle" would appear under "Soups" and "Favorites".

    Did I lose you?


    If anyone has played with the uBlogsy they will understand what I am trying to accomplish.

    Has someone already created something similiar?

    Any help would be much appreciated.


    Owen

  • Richard 146 posts 168 karma points
    Oct 03, 2011 @ 11:08
    Richard
    0

    Owen,

    I think that I would add a "true/false" DocType, to indicate whether the recipe is a favourite. Then add an XSLT lister to the favourites area to list recipes with this value set. You just need to think through if there is a need to define the orderer of the items in the favourites area if you are listing from more than just soups area.

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft