I have Ex. 10 menu in menu header and each of this has permission base so if user have permission for particular menu then that menu will be show for that user only in menu header.
If particular user have all menu(ex...10) permission so in that case application menu header part have not sufficient width so i want like after 5 menu, more menu/button kind of thing show and 6-10 menus are appearing in that more menu/button.
After I Appling all 10 menu permission to particular user, then when I remove 1 menu permission from 1 to 5 at that time 6th menu come out from the more menu and display in menu header and if I again give permission for that remove menu then 6th menu remove from the header and put it into more menu/button.
Assuming you need the 6-10 menu to overflow to to a menu:
just set enableOverflow:true on the toolbar the menus (or splitbuttons) are located in... this works for any amount of toolbar items, not just menus
https://fiddle.sencha.com/#view/editor&fiddle/3a3t
Related
How I want remove header and footer in SSRS for the last 6 page.
Thank You
For each element in your header or footer, whether it be an image or a text box or anything else, right click on each item and select the 'properties' option at the bottom of the menu. Then select the 'visibility' tab and change from 'show' to 'show or hide based on an expression'. Click the button with a 'fx' icon, and then enter the following expression
=Switch(Globals!PageNumber > 2,true)
This will remove the selected element from the header or footer if page number is greater than 2. So in this case if your report is 5 pages long, pages 3, 4 and 5 will not include the selected element. Adjust this based on your requirements.
I am building a navigation menu in drupal 7 and in a few of the menu links it is not possible to edit the "path" in the page "Edit menu links" (under Structure -> Menu -> Navigation). Instead there is a fixed path to for ex. "Add new basic page".
These links also have the option "reset" in stead of "delete"... under Structure -> Menus.
I realize that I must have brought this problem on myself, but I am stuck and cannot figure out how to change the path for these menu links.
So I would like to change the "path". Can someone point me in the right direction?
Just turn off the menu item and create a new one which will fit your need.
This particular menu item was probably created using views. Go into the view and modify the menu item for the related view under Page settings
I define a menu in drupal7 that look something like:
school
--people
----teachers
----pupils
I create:
Content type for people.
Menu with the above titles.
When I add person to people’s content, I choose if he belong to
'teachers' or 'pupils' in the menu.
Now I need that pressing on the menu will give me a list of all that kind of people.
For example, pressing on ‘school->people->teachers’ will give me the list of all
the teachers, one line for each teacher.
So I thing to build a view that get the menu/sub menu as parameter and give me the
appropriate output.
But I don’t know how:
Send to a view the menu / sub menu as parameters. (How to send parameters to a view)
How to filter the view by this parameter and create the specific page.
Create 2 views pages (teacher and pupils)
Where you will show list of all the teachers or pupils
In menu ----teachers add path on views page teachers.
In menu ----pupils add path on views page pupils.
After click on menu you will redirect to the desired page
Update Watch Duplicate Copy Move
I user Drupal 7 with superfish.
I use one menu for logged and annonymus users.
Superfish not show link to annonymus user if the page has logged in role.
But the parent menu item has any.
So drupal show 4 nolink menu item and no children for annonymus users.
How can i disable programicaly the 4 menu item when user is not logged in?
I think about hook_menu_alter, but i don't know the url for nolink menu item.
with Menu per role modul i can show/hide menu item / role,
http://drupal.org/project/menu_per_role
It worked but they said the is not final verzion.
we have a wpf application..in the Home page we have Work,Help,Approve
Search tabs..
When user clicks on the Approve tab and selects a student..if student is
not qualified then ApproveStudent option is enabled,when clicks StudentApprove
screen opens in a newtab and there the user can approve the student.
In the StudentApprove screen there Approve and Disqualify buttons, so when they
click the approve the student is approved once he is approved the StudentApprove
screen should close and take back to the screen from which he come i.e ApproveStudent screen
This is like Ribbonbar
Work,Approve,Search, Help
under these ..when they select any option..under these new tab opens, let say search has 3 options..
when selects Approve ..students list is displayed....when clicked on any student another screen is opened...when they click Approve button ..this tab should be closed and take back to Approve screen
I would use ItemsList and specify
[ViewSortHint("01")]
when you export your views.
Why do you need TabContainer if order is important?