Copied to clipboard

Flag this post as spam?

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


  • Simon Miller 13 posts 36 karma points
    Feb 08, 2013 @ 04:55
    Simon Miller
    0

    Tag Manager in Umbraco 6

    Hi there,

    Although not officialy supported I wanted to try this package with Umbraco 6.

    The installation failed as expected but I managed to translate the installation from the now defunct SQL tables to the replaced config files:

    /config/Applications.config

      <add alias="tagMain" name="Tag Maintenance" icon="tag.gif" sortOrder="7" />

    /config/Trees.config

      <add silent="false" initialize="true" application="tagMain" alias="tagMaintenance" title="Tag Maintenance" assembly="Yoyocms.Umbraco.TagManager" type="loadTagMaint" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" sortOrder="0" />

    /umbraco/config/create/ui.xml
    <nodeType alias="tagMaintenance">
    <header>Tags</header>
    <usercontrol>/create/simple.ascx</usercontrol>
    <tasks>
    <create assembly="Yoyocms.Umbraco.TagManager" type="TagTasks" />
    <delete assembly="Yoyocms.Umbraco.TagManager" type="TagTasks" />
    </tasks>
    </nodeType>
    /umbraco/config/lang/en.xml
    <key alias="tagMaint">Tag Maintenance</key>
    Viewing and editing tags works fine, however the context menu Delete fails with this error:

    Error handling action

    Umbraco Exception (DataLayer): SQL helper exception in ExecuteNonQuery

     

     

    Any chance of a 6.0 patch?

     

    Cheers

    Simon

  • Nigel Wilson 944 posts 2076 karma points
    Feb 08, 2013 @ 19:27
    Nigel Wilson
    0

    Hi Simon

    Thanks for getting in touch and some good efforts to get the package working in V6.

    I can add this to my list of things to do - at the moment I am bogged down with other tasks I am sorry.

    In the meantime, if you have some spare time, you are welcome to download the source and create a V6 package version - I would gladly add this to the downloads for the project.

    Cheers, Nigel

  • Francisco 21 posts 72 karma points
    May 07, 2013 @ 04:13
    Francisco
    0

    Hey Guys,

    I followed Simon's post to add the configuration to the xml files, and it is working now.

    The exception Simon referred happens when the tag has a content or media associated. So, if you try to delete the tag, because it is associated, the sql throws an constraint exception. I guess even in v4.x this was happenening also?

    Well, I have got the source code, and I will try to update it and send you back Nigel!

    Cheers,

  • Giorgos Grispos 145 posts 179 karma points
    May 18, 2013 @ 15:37
    Giorgos Grispos
    0

    Hey Franscisco,

    Any idea when the code will be sent to Nigel. It'd nice to have it soon.

    Cheers, Giorgos

  • Morten Jensen 41 posts 104 karma points
    Jun 04, 2013 @ 10:53
    Morten Jensen
    0

    +1 This package really improve the built in data type.

  • Nigel Wilson 944 posts 2076 karma points
    Jun 04, 2013 @ 20:16
    Nigel Wilson
    0

    Hey folks

    Will endeavour to get this working within the next week...

    Based on what I know there shouldn't be a lot of work, just making the time has been the issue.

    :-)

    Cheers, Nigel

  • Justin Grimm 56 posts 138 karma points
    Jun 17, 2013 @ 22:28
    Justin Grimm
    0

    Compatability with the latest version would be MUCH appreciated!

  • Peter Gregory 408 posts 1614 karma points MVP 3x admin c-trib
    Jun 26, 2013 @ 12:32
    Peter Gregory
    0

    Hey all.  I ran into the same problem with the package.  Turns out the SQL error is related to the cmstagrelationship table.  I downloaded the source code and have rebuilt with the little fix.

    You will still need to download the full package and follow Simons instructions but swap out the dll with the ones here.

    https://dl.dropboxusercontent.com/u/4847345/tagmanagerv6dll.zip

    Hope this helps someone and would be great to see an official release to resolve this issue as this is the best tag management package available

  • Nigel Wilson 944 posts 2076 karma points
    Jun 26, 2013 @ 19:31
    Nigel Wilson
    0

    Hey Pete

    Nice work on thhe fix and thanks for your kind words re the package.

    I have started rebuilding for V6 but struck a snag that I haven't yet resolved / had the time to fully investigate - something I didn't expect.

    I will have another look soon to try and get sorted.

    Sorry for the delays.

    Cheers

    Nigel

     

  • Nigel Wilson 944 posts 2076 karma points
    Jul 08, 2013 @ 10:39
    Nigel Wilson
    0

    Quick update.

    Initial issue resolved - related to a bug in coding for trees.config

    Now have discovered a bug relating to deleting a tag from within the custom tree - currently getting the following error in the speech bubble:

    Error handling action

    Object reference not set to an instance of an object.

     

    So am working on things, please beer (yep send me some please) with me !

    Cheers, Nigel

  • Nigel Wilson 944 posts 2076 karma points
    Jul 08, 2013 @ 11:18
    Nigel Wilson
    0

    OK - I am a bit stumped here...

    With Firebug the following is the post data:

    {"nodeId":"1","alias":"","nodeType":"tagMaint"}

    And the response is:

    {"Message":"Object reference not set to an instance of an object.","StackTrace":" at umbraco.presentation.create.dialogHandler_temp.Delete(String NodeType, Int32 NodeId, String Text)\r\n at umbraco.presentation.webservices.legacyAjaxCalls.Delete(String nodeId, String alias, String nodeType)","ExceptionType":"System.NullReferenceException"}

    Is anyone able to assist in where to start looking, how to correct the delete error ? Is it due to the alias being empty ?

    Thanks, Nigel

  • Nigel Wilson 944 posts 2076 karma points
    Jul 20, 2013 @ 18:33
    Nigel Wilson
    0

    OK - have found the problen. PEBKAC!

    http://our.umbraco.org/projects/backoffice-extensions/tag-manager - go get the new package.

    Cheers, Nigel

  • Justin Grimm 56 posts 138 karma points
    Aug 02, 2013 @ 21:48
    Justin Grimm
    0

    Just installed the package on a site running v6.0.5.  Appears to be working like a charm across multiple tag libraries.  GREAT package and many thanks for this!

  • Nigel Wilson 944 posts 2076 karma points
    Aug 02, 2013 @ 21:58
    Nigel Wilson
    0

    Hi Justin

    Thanks for your note - very much appreciate the positive feedback.

    Enjoy.

    Nigel

  • Claire Favillier 3 posts 50 karma points
    Aug 08, 2013 @ 18:08
    Claire Favillier
    0

    Hello !
    I installed the new package and it says :

    "Installation complete!
    All components are now installed.
    You will need to log out and back in to see the changes.
    You may even have to "touch" the web.config file to force the umbracoApp / umbracoAppTree table changes to be loaded."

    As i don't see the changes, it seems that i should "touch" the web.config but can't find exactly where.
    I looked the /config/Applications.config and /config/trees.config and they seem quite normal.

     

    Any idea ? Thanks a lot !!

  • Justin Grimm 56 posts 138 karma points
    Aug 08, 2013 @ 18:18
    Justin Grimm
    0

    Claire, the web.config file is in the root of your site.  Just put a space in there and re-save the file.  This will cause the application to recompile and you should see the tag library after a browser refresh.

Please Sign in or register to post replies

Write your reply to:

Draft