Closed SegaWeb closed 5 years ago
in function menu_block_view_pageshow(options) options.menu_name does not contain primary_local_tasks
@SegaWeb Does your settings.js
file contain the entry for the primary local tasks in the theme/region/block settings?
drupalgap.settings.blocks.easystreet3 = { header: { user_menu_anonymous: { roles: { value: ['anonymous user'], mode: 'include', } }, user_menu_authenticated: { roles: { value: ['authenticated user'], mode: 'include', } }, main_menu: { } }, sub_header: { title: { } }, navigation: { primary_local_tasks: { } }, content: { messages: { }, main: { }, }, footer: { powered_by: { } } };
This is contained in settings.js Do I need to add somewhere else?
I found my mistake. In the new drupalgap.min.js settings templates are transferred to the js file theme. I did not add the right regions there ...
/**
Thanks for the help!
The latest version of drupalgap.min.js no displays Local Tasks. How to fix? Or I'm doing something wrong. If you use drupalgap-7.0.2.min.js, then the menu works on all entities.