All appears well I get the list of people within the tree but the js fails to load the view. Within the browsers dev tools I can see the error - Error evaluating js callback from legacy tree node : ReferenceError: openExamplePage is not defined this is being caught within the angular.min.js file
I would try provide some links that you could help you get closer to build a custom section in version 7. The man behind the Newsletter studio for Umbraco Markus Johansson, have create to blogpost about who to create a custom section. Maybe this can be at any help to. Hope so.
Thanks for the links provided, I had tried them but when I got to part 2 it looked like it used a single application page using angular js controller to load the view. I had hoped to stick with the standard MVC method, when tried my attempt again this morning I was no longer getting the
"Error evaluating js callback from legacy tree node : ReferenceError: openExamplePage is not defined "
error. I then realised it must be a caching issue with the js file that had cleared over the weekend. Even though I had Ctr/Shift F5'd my browser to clear cache on Friday. I made a few more changes and such as renamed my js function to load the view and started getting the same error again. For some reason I had to go into the browser settings of my browser and clear cache from there to get the updated umbraco js files to update rather than using the shortcut keys??
Custom section in version 7 - using umbraco.cms.presentation.Trees.BaseTree
Hi,
Would anybody know if it's possible to have a custom section in version 7 without having to use Angular.js.
I've tried following this example http://www.nibble.be/?p=250
All appears well I get the list of people within the tree but the js fails to load the view. Within the browsers dev tools I can see the error - Error evaluating js callback from legacy tree node : ReferenceError: openExamplePage is not defined this is being caught within the angular.min.js file
Thanks in advance
Hi Grame,
I would try provide some links that you could help you get closer to build a custom section in version 7. The man behind the Newsletter studio for Umbraco Markus Johansson, have create to blogpost about who to create a custom section. Maybe this can be at any help to. Hope so.
http://www.enkelmedia.se/blogg/2013/11/22/creating-custom-sections-in-umbraco-7-part-1.aspx
http://www.enkelmedia.se/blogg/2013/11/22/custom-sections-in-umbraco-7-%E2%80%93-part-2-the-views.aspx
/Dennis
Hi Dennis,
Thanks for the links provided, I had tried them but when I got to part 2 it looked like it used a single application page using angular js controller to load the view. I had hoped to stick with the standard MVC method, when tried my attempt again this morning I was no longer getting the
"Error evaluating js callback from legacy tree node : ReferenceError: openExamplePage is not defined "
error. I then realised it must be a caching issue with the js file that had cleared over the weekend. Even though I had Ctr/Shift F5'd my browser to clear cache on Friday. I made a few more changes and such as renamed my js function to load the view and started getting the same error again. For some reason I had to go into the browser settings of my browser and clear cache from there to get the updated umbraco js files to update rather than using the shortcut keys??
Solved now anyway thanks for your input.
Graeme
Hi Graeme,
That´s awesome!
Then you could mark the post as solved, You have a little green tick on every post, and you can hit it on the post that give you the correct answer.
But good that you got it to work.
/Dennis
is working on a reply...