I want to know if it's possible to limit the visible Menu Items in a Community with Profiles (where certain community users can see some Menu Items, while others cannot). How to do it?
If your menu items are the objects, you can use profıles to create different menu ıtems. Profile A can reach object X,Y,Z and see the menu items X,Y,Z, but Profile B can only reach object X, can see only X menu item.
Related
I am developing a web page. This page contains a list of items on the left side, and a information panel on the right side to show some summary information specific to the selected items see below:
When one item is selected by user, the information panel's content should be updated to show the active item's content.
My Question:
What is the proper way to implement this:
Spawn one information panel per list item. Then hide/show the the information panel for the active list item.
Make only one information panel globally. Then update the information panel's content based on list item selection?
Because I am using Angular 2 and Bootstrap, advices specific to these libraries are appreciated. (For example, shall I use route to implement the item-click-to-summary-display? Is there a component in Bootstrap library that is specifically for such purposes? )
How can I edit the layout of category.
I am unable to find the solution. I need to edit it via Control Panel, not using direct file editing.
To edit the layout of category, Edit the menu item that is linked to that category. In the menu item edit page, you will find all the option for changing category layout.
Also you can change the Global options in Content > Categories page then click on the options button to see all category options.
I have a menu with a list of items.
I'd like the user to be able to select multiple items (without menu auto-collapsing). His/her selection should be communicated by highlighting the selected items. So what I need is:
A way to suspend menu auto-collapse on clicks
A way to highlight (select) specific items
A way to see which items are selected
Currently, I don't see methods in the API to do this, and answers from similiar questions are dated (~2007) for which the API no longer exists.
Help?
That sounds like a checkbox menu, take a look at Ext.menu.CheckItem.
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
This is sort of a subjective question, but I'd like to get some ideas on the best way to lay this out. I'll set up the situation for you.
I have a grid with a column that allows the user to "View Details" on a particular item. The grid also allows the user to select multiple rows and "View Details" on those items. When the user clicks "View Details", a Window will pop over the grid, with a form inside it and controls to navigate between the multiple items (if they selected multiple items).
Here's a picture for an example:
I have no problem creating the Window, but I'm curious as to how to handle multiple "FormPanels", if that makes sense? Would I need to create another Panel inside the container Panel for each item they have selected, and then hide/show based on the active item (shown as "Item #1" in the dropdown)?
I'm thinking of it like a deck of cards in which you can navigate through, but I've never done something like this before. Also note that each item/card will be prepopulated with information from the grid, but that should be easy enough to do if I'm using the same Store.
Thoughts?
Yes you're right, and the layout you're looking for is the CardLayout.
You can read about it in the API here. The basic idea is like you said, a stack of cards that contain components, and you shuffle through them by calling the relevant methods.