How to move a submenu and all items under it to another parent menu in Ektron? - ektron

I use the menu tab under content. My current menu structure is as below
MainMenu
Sub menu Level 2
Submenu level 3 (1)
item 1
item 2
item 3
Submenu level 3 (2)
item 41
item 5
item 6
What I want is as below
MainMenu
Submenu Level 1
Sub menu Level 2
Submenu level 3 (1)
item 1
item 2
item 3
Submenu level 3 (2)
item 41
item 5
item 6
Please note that I want to add a new submenu under MainMenu and want the previously added submenu and every thing under it to come under the new one.

There does not appear to be a way to do this through the UI interface, but it is relatively simple to do via the database.
There are two key tables for menus: menu_tbl and menu_to_item_tbl.
In the menu_tbl, find the row for the item you'd like to move. Note the mnu_id for that item. You'll probably want to export the whole menu_tbl as an excel, and refer back later as you make changes.
To move a specific menu item to another place, note that the menu item has a parent_id of the item it belongs to, and the ID of the item you want to move (it shows up in the Ektron admin).
Then you can take these steps:
If the item is a menu folder itself, you need to change this parent_id to point to the new parent's mnu_id in the menu_tbl table.
Then open the menu_to_item_tbl up and change the query to query the mnu_id of the parent by adding a "where mnu_id = ". The results should show the subitems for the parent, including the item you want to move. Change the mnu_id of the item to match the parent mnu_id as well.

Related

multiple items in wagtail carousel

I want to have 4 different items in a slider(Product Name section). And in the next slider, again 4 items. How to achieve this in wagtail?
Below I have given screenshot how it should be.
Screenshot:
This one is in static, but I want it dynamic. For every 4 item, it should create one slider and so on.

Spinner on clicking an item in DetailsList

How do I show a spinner in a DetailsList? For instance, let's say I have the following items in a DetailsList:
list of items
On clicking the item with the name 'AdipiscingUt.onetoc', show a spinner on the rightmost side of that item (next to 125 KB). Please let me know if you have any suggestions on the same.
Thanks!
You can use selection attribute in <DetailsList> component to catch the selection events. Then create extra column with hidden spinner and display it via selection event.
At least I had the experience when I needed to display the icon status according to each item. I added unique id per each item (using onRender method for columns attribute in <DetailsList>) and use it for identification.

Listbox Items in VBNET

I'm working on code that creates a form with two list boxes. In the first list box I'm listing a set of items in a Civil 3D file (wich is already working). In the second list box I want to show all the sub items of the items that are listed in the first list box.
In other words, when I open the form, the first list box contain all the items (already working), when I click or double click one of this items, the second list box will list all the sub items that is in this item that I clicked.
Any ideas in how to do it?

Loading items in Combobox

I am working on a project and the problem that I have is; the items of my combobox are being loaded from the database table(one field); the table has more than 1000 records:
how can I load these records(one field) as items by giving a limit of 50 while allowing the user who wants to see all of the records through the combobox to see them but still by a group of 50?
which event can be the best for loading items to the combobox? textchanged, click....
I was thinking to use the vertical scroll bar so that when the user is at the end of the displayed items the next 50 will be loaded and if he is on the first and scrolls up the previous 50 will be loaded:problems with this way of thinking are:
when the user typed some caracter from the word that he wanna select
from the items' list if it is not loaded yet from the DB he will be
obliged to type the whole word
I don't know which event is raised
when scroll bar of reaches the end or is at the beginning
Is there any other way to do that?

Navigate to item 3 from item 1 in Panorama View

I have a panorama app and I want navigate to item 3 from item 1, When the user clicks a button at item 1 panorama but I don't know how to do this. I have searched but nothing.
I am using Long list selector to write the contents in the List.
How can i do This ?
this may help :
writing extra words to fill up thirty characters, i really dont need to write anything
http://blogs.msdn.com/b/aschapiro/archive/2012/07/21/navigating-directly-to-a-specific-screen-inside-a-panorama-or-pivot-page.aspx