Copied to clipboard

Flag this post as spam?

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


  • suzyb 474 posts 932 karma points
    Oct 10, 2011 @ 13:37
    suzyb
    0

    Adding categories without editing datatype

    Is it possible to add categories without having to edit the datatype.  Our client may need to be able to add more categories to their blog but we don't really want them to have access to the developer section.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 10, 2011 @ 16:40
    Anthony Dang
    0

    Short answer, no.

    They are the type of thing that will change very very very rarely anyway.

    I had this situation with a client which wis why catgories were introduced.

    Categories virtually never change. Tags can be whatever

     

  • suzyb 474 posts 932 karma points
    Oct 10, 2011 @ 17:59
    suzyb
    0

    I think of categories in a different way to you it seems.  Although I can't see categories being changed or deleted I can see new ones needing added every so often.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Oct 10, 2011 @ 21:10
    Dan Diplo
    1

    Maybe Darren Ferguson's Dashboard PreValue Editor package would help here?

    "Allows you to edit prevalues for certain (configurable) datatypes on the dashboard.

    The concept is that for some datatypes e.g. lists of client - the content user may want to edit the prevalues but you don't want to give them access to the datatypes in the developer section."

  • suzyb 474 posts 932 karma points
    Oct 12, 2011 @ 17:05
    suzyb
    0

    We'll be giving their IT guy full access to the CMS so will see if it's acceptable to just have him able to add categories.  If not then I'll have a look at that package.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 13, 2011 @ 17:18
    Anthony Dang
    0

    "I think of categories in a different way to you it seems.  Although I can't see categories being changed or deleted I can see new ones needing added every so often."

    No this is exactly what I meant.

    I think if new categories are to be added then that should be done by some sort of advanced editor or admin. Standard editors should not be allowed to add categories because they will very easily spoil the taxonomy.

    If they want to change them then you should use darrens package.

     

  • suzyb 474 posts 932 karma points
    Oct 13, 2011 @ 19:18
    suzyb
    0

    I see where your coming from now.

  • Dan Evans 629 posts 1016 karma points
    May 02, 2012 @ 18:40
    Dan Evans
    0

    We solved this by changing the data type of the category selector to uComponents Multi-node tree picker. This saves the node id rather than the node name so then we edited the Razor files and changed all references to categories to get the node name for the link text but left the ID as the actual link.

    Now users can add and edit categories by addiing to a list within the site tree.

     if (!string.IsNullOrEmpty(c.Trim()))

                            {

                                <li><a href="@landing.Url?category=@c" title="@Model.NodeById(@c).Name">@Model.NodeById(@c).Name</a></li>

                            }

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    May 04, 2012 @ 11:10
    Anthony Dang
    0

    Nice!

     

Please Sign in or register to post replies

Write your reply to:

Draft