the tab shows on the content section, i get the initial form to specify number of nodes to add. when i click 'name your nodes' i get a red box. [see below]
I have it working in a version of v4.6.1 and havn't run into this issue, It does seem like an error is being thrown but without any response which isnt very helpful :s
In the settings are you able to create nodes underneath the "website" node i.e. have you defined document types that can be created there? I will edit the error reporting to try and make it give us a more usefull error!
I have uninstalled the extension but will reinstall and check. Something tells me I may have made the silly mistake of not having any "add-able" document types as you suggested.
I will re-install it when I get a chance and will let you know.
I'm actually getting this same issue in 4.7 (as well as my sprite images for each node don't show up). Anything I can do to help speed up the debugging please let me know. I'd like to be able to use this :)
For the record I'm using a vanilla install of Umbraco 4.7 with the Koiak starter pack. I use this to install/test packages before going to a dev copy of my site.
Thanks for the heads up, just to double check you do have Doc types that can be added to the content tree? sounds like you do as you have the starter back installed. The code for the project is available to download so feel free to have a poke about and see if you can find the solution.
failing that I will hopefully get a look at it in the next week or so, so hopefully can upload a fix
From my initial investigation it appears as though the ValidationSummary is firing even though the validators seem to be valid. I'm currently getting a local Umbraco install up and running (my dev instances are on servers) so that I can attach to the process and see what's happening in the control. So far the local install has taken quite a bit more effort than I'd anticipated. I'll get back to you as soon as I get more info on the validation summary.
ValidationGroups are your friend! We're missing a validation group around your control which means when you click "name your nodes" the validators are ALL firing around the other areas in "Content" even though they aren't visible. I've added a ValidationGroup="SCC" to the ValidationSummary and various buttons in your control and now everything works as intended.
The one exception to this is the icons aren't loading properly. Apparently in Umbraco 4.7 they're using what appears to be a Sprite system for icons, so the "IconURL" properly is now something like ".sprTreeDoc" instead of "doc1.gif" as they did previously. I'm still working on a fix for this, I'll get back to you with it soon.
Also, I've cleaned up the codebase pretty extensively. Don't know if you're interested in a cleaner version of the plugin, but if you are let me know.
Thats great, thanks for all you work on it and I am gald you found the problem, could you fire the code over to me and I can take a look, I am still pretty new to c# so any improvments are really appreciated.
Just followed you on the twitters, but I don't know how to get the code in your hands. :) If you follow me on twitter I can DM you my email and we can pick this up that way.
I'm currently looking into fixing the install procedure for the package so that it works even if someone has installed another package in content. I should have that figured out by this afternoon.
Ok everything's done. I think you can make me a contributor on the project and then I can attach the 2 new zip files (The install package and the source code) directly to the site.
FYI I'm pretty sure this is not specific to v4.7.x but I'd need a version at 4.5/4.6 to know for sure. I've changed from using .IconURL to using .Thumbnail for the tree node image. The downside is the thumbnail is 256x256 (displayed at 22x22), but the upside is the Thumbnail exists in 4.5/4.6/4.7 (from what I've found researching onilne).
One other thing to test: I only have access to the Umbraco.dll that targets .NET 4.0 (all of my installs of umbraco target .NET 4 framework). As a result the control is built in a project that targets .NET 4.0 as well (in order to build). I don't believe this will cause a problem on a .NET 3.5 install (I'm not including the umbraco.dll, and the control itself has no .NET 4 code in it), but the only way to know for certain is to get a .NET install running <4.0.
Did you ever manage to get the new version of the package uploaded? Would really like to try it out, but currently getting the error originally reported at the top of this thread...
Sorry it took so long to get online. I had sent it to Lachlann to have him double check my work, but I assume he's super busy.
I've added v2.0 install and source to the project so if you need to dig into the source and see what changes I've made you can. It's basically a top-down rewrite (w/ Lachlann's permission of course) which is targeted at Umbraco v4.7.x.
If you have any feedback/suggestions/issues just make a post in this forum and I'll take a look!
Thanks John - just installed that, and it seems to work fantastically with Umbraco v4.7. This will save SO much time, especially when used together with Sitereactor Standard Values!
not working in v4.6.1
hi
this does not seem to be working in v4.6.1.
the tab shows on the content section, i get the initial form to specify number of nodes to add. when i click 'name your nodes' i get a red box. [see below]
tested in firefox 4 beta and chrome
Hey thanks for the post,
I have it working in a version of v4.6.1 and havn't run into this issue, It does seem like an error is being thrown but without any response which isnt very helpful :s
In the settings are you able to create nodes underneath the "website" node i.e. have you defined document types that can be created there? I will edit the error reporting to try and make it give us a more usefull error!
Best
Lach
thanks for the reply.
I have uninstalled the extension but will reinstall and check. Something tells me I may have made the silly mistake of not having any "add-able" document types as you suggested.
I will re-install it when I get a chance and will let you know.
I'm actually getting this same issue in 4.7 (as well as my sprite images for each node don't show up). Anything I can do to help speed up the debugging please let me know. I'd like to be able to use this :)
For the record I'm using a vanilla install of Umbraco 4.7 with the Koiak starter pack. I use this to install/test packages before going to a dev copy of my site.
Hey John,
Thanks for the heads up, just to double check you do have Doc types that can be added to the content tree? sounds like you do as you have the starter back installed. The code for the project is available to download so feel free to have a poke about and see if you can find the solution.
failing that I will hopefully get a look at it in the next week or so, so hopefully can upload a fix
Best
L
Hi Lachlann,
From my initial investigation it appears as though the ValidationSummary is firing even though the validators seem to be valid. I'm currently getting a local Umbraco install up and running (my dev instances are on servers) so that I can attach to the process and see what's happening in the control. So far the local install has taken quite a bit more effort than I'd anticipated. I'll get back to you as soon as I get more info on the validation summary.
John
Alright Lachlann, I've got it.
Thanks to Richard and this thread: http://our.umbraco.org/projects/developer-tools/content-maintenance-dashboard-package/feature-requests/19651-Change-from-Developer-Tab-to-Content-Tab?p=0#comment74685
ValidationGroups are your friend! We're missing a validation group around your control which means when you click "name your nodes" the validators are ALL firing around the other areas in "Content" even though they aren't visible. I've added a ValidationGroup="SCC" to the ValidationSummary and various buttons in your control and now everything works as intended.
The one exception to this is the icons aren't loading properly. Apparently in Umbraco 4.7 they're using what appears to be a Sprite system for icons, so the "IconURL" properly is now something like ".sprTreeDoc" instead of "doc1.gif" as they did previously. I'm still working on a fix for this, I'll get back to you with it soon.
Also, I've cleaned up the codebase pretty extensively. Don't know if you're interested in a cleaner version of the plugin, but if you are let me know.
Thanks,
John
Hey John,
Thats great, thanks for all you work on it and I am gald you found the problem, could you fire the code over to me and I can take a look, I am still pretty new to c# so any improvments are really appreciated.
thanks
L
Hi Lochlann,
Just followed you on the twitters, but I don't know how to get the code in your hands. :) If you follow me on twitter I can DM you my email and we can pick this up that way.
I'm currently looking into fixing the install procedure for the package so that it works even if someone has installed another package in content. I should have that figured out by this afternoon.
John
Ok everything's done. I think you can make me a contributor on the project and then I can attach the 2 new zip files (The install package and the source code) directly to the site.
FYI I'm pretty sure this is not specific to v4.7.x but I'd need a version at 4.5/4.6 to know for sure. I've changed from using .IconURL to using .Thumbnail for the tree node image. The downside is the thumbnail is 256x256 (displayed at 22x22), but the upside is the Thumbnail exists in 4.5/4.6/4.7 (from what I've found researching onilne).
One other thing to test: I only have access to the Umbraco.dll that targets .NET 4.0 (all of my installs of umbraco target .NET 4 framework). As a result the control is built in a project that targets .NET 4.0 as well (in order to build). I don't believe this will cause a problem on a .NET 3.5 install (I'm not including the umbraco.dll, and the control itself has no .NET 4 code in it), but the only way to know for certain is to get a .NET install running <4.0.
Hi John / Lochlann
Did you ever manage to get the new version of the package uploaded? Would really like to try it out, but currently getting the error originally reported at the top of this thread...
Thanks
Allan
Hi Allan,
Sorry it took so long to get online. I had sent it to Lachlann to have him double check my work, but I assume he's super busy.
I've added v2.0 install and source to the project so if you need to dig into the source and see what changes I've made you can. It's basically a top-down rewrite (w/ Lachlann's permission of course) which is targeted at Umbraco v4.7.x.
If you have any feedback/suggestions/issues just make a post in this forum and I'll take a look!
Thanks,
John
Thanks John - just installed that, and it seems to work fantastically with Umbraco v4.7. This will save SO much time, especially when used together with Sitereactor Standard Values!
Great stuff!
Allan
is working on a reply...