I have gone through a few tutorials and videos and even asked for help on this forum but unfortunately we never got to a satisfactory outcome :-(
What i am attempting to do is create a new section in Umbraco's backend (which i have completed). I then attempt to create a AngualrJS file (editcontroller.js) for the edit.html page.
So far i can click onto the new section but when i click create i get
Error: Argument 'Example.editcontroller' is not a function, got undefined
Ive searched a number of articles on this and have made a number of changes but cant figure out what is wrong or if its just something with this particular version of Umbraco.
Ive added debug=true to the config file.
I have changed " to ' in the package.manifest file.
Attempted to save the manifest file as with BOM
Changed the directory of the manifest file
and more....
I have uploaded this project to gitHub and wonder if someone could take a look to see if they can see any issues? Ive completely run out of ideas.
Final attempt with Section (project on GitHub)
I have gone through a few tutorials and videos and even asked for help on this forum but unfortunately we never got to a satisfactory outcome :-(
What i am attempting to do is create a new section in Umbraco's backend (which i have completed). I then attempt to create a AngualrJS file (editcontroller.js) for the edit.html page.
So far i can click onto the new section but when i click create i get
Error: Argument 'Example.editcontroller' is not a function, got undefined
Ive searched a number of articles on this and have made a number of changes but cant figure out what is wrong or if its just something with this particular version of Umbraco.
and more....
I have uploaded this project to gitHub and wonder if someone could take a look to see if they can see any issues? Ive completely run out of ideas.
Thanks for any help
It seems like there is an issue with your package manifest file:
should be:
I think you suggested i missed off "/" so i added that in but still the same error.
I touched the config file and cleared the temp folder, tried in Incognito but no luck :-(
one thing I noticed, you seem to have a folder called
"Backoffice/PersonTree"
that is not valid, you should have a sub folder under Backoffice called PersonTree
Huw I downloaded the solution (can't run it without the DB) but the folder structure seems correct:
must just look weird in github then
shouldn't javascript: be "javascript": (with quotes)
I have changed the manifest file to the below but same error
I have now also uploaded the database to the root folder in case that helps.
Thanks
you will need to provide a login too otherwise won't be able to access the back office :)
Oh sorry
[email protected] P@ssw0rd1
I will take a look later see if I can help
@HuwReddick - Just wanted to see if you had a chance on this?
Not yet sorry, swamped at work at the moment. Should be able to have a look at the weekend.
Not able to get your solution to run as no database and don't have time to fiddle around and get one setup.
is working on a reply...