I'm getting started on a news section, and am using this package to automatically sort the news items by a custom date field. It's working great, but it'd be even better (from a client's perspective) if the nodes would refresh automatically in the tree after saving rather than needing to right click the parent and choose Reload Nodes.
Not sure how hard that'd be to implement, but it'd be greatly appreciated.
Jeroen's solution did work - I added this a while back in a fork on codeplex when I was fixing a bug with numeric sorting. I sent it to Matt but I think he has been busy with other projects.
You need to add the following references: umbraco.dll, businesslogic.dll, cms.dll, interfaces.dll
Also you need to add them from .NET 3.5 binaries as the project is built for 3.5. I just tested using the 4.5.2 for .NET 3.5 binaries and it compiles fine. It will still work with a .NET 4 Umbraco install.
I compiled for .NET 4 and it works just fine. I'm trying to figure out why it runs the reload from one node higher than the node the content is in. Seems pointless to reload the parent of the parent.
Reload nodes on change
I'm getting started on a news section, and am using this package to automatically sort the news items by a custom date field. It's working great, but it'd be even better (from a client's perspective) if the nodes would refresh automatically in the tree after saving rather than needing to right click the parent and choose Reload Nodes.
Not sure how hard that'd be to implement, but it'd be greatly appreciated.
Cheers, and thanks for a great package.
Hi Taylor,
It should be possible. I'll take a look when I have a spare moment.
Cheers
Matt
Hi Taylor,
Maybe the solution of this topic might help: http://our.umbraco.org/forum/developers/extending-umbraco/13467-umbraco-45-custom-tree-and-create-dialog?p=0#comment49638.
Jeroen
Jeroen,
Were you able to get your solution to work?
Connie
Hi Connie,
Jeroen's solution did work - I added this a while back in a fork on codeplex when I was fixing a bug with numeric sorting. I sent it to Matt but I think he has been busy with other projects.
If you like you could download it here, compile it, and replace your DLL. 4.6 wasn't out at the time so hasn't been tested there though. http://documentsorter.codeplex.com/SourceControl/network/Forks/tomnf/Feature
Thanks,
Tom
Hi Tom,
I can't get it to compile as it says
cannot be found. I have the umbraco reference added, and I think the correct version.
Hi Connie,
You need to add the following references: umbraco.dll, businesslogic.dll, cms.dll, interfaces.dll
Also you need to add them from .NET 3.5 binaries as the project is built for 3.5. I just tested using the 4.5.2 for .NET 3.5 binaries and it compiles fine. It will still work with a .NET 4 Umbraco install.
Thanks,
Tom
I compiled for .NET 4 and it works just fine. I'm trying to figure out why it runs the reload from one node higher than the node the content is in. Seems pointless to reload the parent of the parent.
Just realized the fix to reloads has stopped working. I can onlt assume it stopped when we upgraded to umbraco 4.7. Anyone else seeing issues?
is working on a reply...