Take a look at this example https://gist.github.com/perploug/7334403 to hook a context menu in a tree. For multilingual solutions there isn't a best approuch in Umbraco V7 yet. You could use the existing Language files and the Umbraco textHelper or use dictionaries maybe.
I got the example working but how do you know what kind of menu you are watching? I want to add something to the root node (-1), you can check that. But how do you know if it's the "..." menu or the "something else" menu? I want to add only a button to the "something else" list.
Custom context menu.
Hello team,
Will somebody help me on creating context menu on Umbraco 7. And will you suggest me a better approach for the multilanguage for umbraco 7 cms.
Thanks
With Regards
Tri Mandir Prajapati.
Hi,
Take a look at this example https://gist.github.com/perploug/7334403 to hook a context menu in a tree. For multilingual solutions there isn't a best approuch in Umbraco V7 yet. You could use the existing Language files and the Umbraco textHelper or use dictionaries maybe.
Hope this helps,
Richard
Thanks, I will look up into context menu example.
I got the example working but how do you know what kind of menu you are watching? I want to add something to the root node (-1), you can check that. But how do you know if it's the "..." menu or the "something else" menu? I want to add only a button to the "something else" list.
...sleepy friday, there's only one menu!
is working on a reply...