Copied to clipboard

Flag this post as spam?

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


  • von 61 posts 123 karma points
    Sep 26, 2012 @ 15:58
    von
    0

    Extending uTagsy

    I need a way to add a description to the Tags associated to a Blog posts. So when blog posts are filtered by tags there will be a heading, the name of the Tag that was clicked, and a description of the tag. Currently, in uBlogsy 2.1, blog posts are shown with no headers or description or indication of how they are grouped.

  • Gus Deadman 45 posts 65 karma points
    Sep 27, 2012 @ 17:17
    Gus Deadman
    0

    As I'm posting I'm creating the structure through folders and mine are grouped according to the folder I've put them in but that's probably not what you mean. Do you mean when you search?

    Either way to associate a  tag with a description you'd have to create a way of storing a list of tags and their desciptions and then when blogging instead of using any words you would choose from your list of described tags or create a way of recognising when a tag occurs in a post listing and a method of retrieving the description from a previously set up a table of frequently used tags and their descriptions. This sounds like a significant extension to the functionality and a good deal of work in creating a dictionary of tags.

    Sorry I can't say "press this button".

    Cheers

    Gus

  • von 61 posts 123 karma points
    Sep 28, 2012 @ 01:53
    von
    0

    Thanks for the input Gus!

    No it's not the search. By default uBlogsy Tags are shown at the right side and you can click on them. When you click on them, a list of posts that have the clicked tag associated with them are shown. That's where I want the header to be.

    The way you describe the solution is the way I see it working. My issue is that I don't know where to start to actually building it. My first thought is that the "new tag" will be a Data Type, a complex one as it seem to be. I have no idea currently how to do it and I need guidance. The reason I post here is may be there's another (better or the right) approach in getting to the solution.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 30, 2012 @ 23:18
    Anthony Dang
    0

    You would need to store the description somewhere. Like a tag node.

    One thing I'm planning on doing is have a tags subtree:

    Tags

    • tag1
    • tag2

    If you need to implement this now, you could hook into the save event, check what tags already exist, create as required.

     

  • von 61 posts 123 karma points
    Oct 01, 2012 @ 02:15
    von
    0

    What I did is create a dictionary item for each of the tag, may not be the best solution but it works for now. I am now looking how to create a dictionary item in code, if it's possible. I am now digging into the documentation but am also hoping someone can give me the URL for that documentation.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 08, 2012 @ 23:29
    Anthony Dang
    0

    I've never needed to create dictionary items in code.

    If it's still an option, I recommend going with content nodes as there are a whole bunch of examples out there as well as people who know about it.

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft