I have created a new action but it does not show up in the menu - also Refresh is not shown - Create appears as the only item in the menu. I have added the Letter of the new action to the default permission for Admin as I thought taht was the problem - but it still does not show up
The first thing in my mind is to check that you have permissions to see this section in back office. Go to edit your admin user and at the bottom of the page you'll find checkbox list, make sure that appropriate section is checked.
Second thing that I can advice you is to use TreeBase class instead of controller. It'll make code much easier. In our project we use only BaseTree class for this purposes, also it self-generate code for tree.config and so on.
New Action for Custom section in v7
Hi
I have created a new Custom section in v7 following this http://www.enkelmedia.se/blogg/2013/11/22/creating-custom-sections-in-umbraco-7-part-1.aspx
I have created a new action but it does not show up in the menu - also Refresh is not shown - Create appears as the only item in the menu. I have added the Letter of the new action to the default permission for Admin as I thought taht was the problem - but it still does not show up
Any Ideas?
/Paul S
Hi Paul!
The first thing in my mind is to check that you have permissions to see this section in back office. Go to edit your admin user and at the bottom of the page you'll find checkbox list, make sure that appropriate section is checked.
Second thing that I can advice you is to use TreeBase class instead of controller. It'll make code much easier. In our project we use only BaseTree class for this purposes, also it self-generate code for tree.config and so on.
Here is example:
Hope it will help you
Hi Alexander
I have added the permission to the admin user in the DB since Administrator does not show up as a User Type - quess that's new in V7?
My old sections are based on BaseTree and they work - I just wanted to do it the V7 way.
I have spent a lot of time debugging the source for v7 since the doc. is still appears to be very limited.
/Paul S
The V7 way is to use a treecontroller, exemple here:
https://github.com/perploug/UkFest-AngularJS-Demo/blob/master/App_Code/PeopleTreeController.cs
is working on a reply...