Is it possible to have the "New" submenu (new folder, file ...) included in the menu queried by IContextMenu::QueryContextMenu?.
I didn't find a flag that seems to handle this need. I know that it`s possible to add an own menu but I rather want the shell sub menu.
Thanks,
SKAR
Related
In my main form window, I have the following menu bar which is used for traversing. Its inherited from .mmb file.
Now, when I select any form on the menu, lets suppose I selected the highlighted "Purchase Order", then I don't want the same menu to be shown. I want the Oracle Form 11g's default menu to be shown instead, picture added below for reference.
I changed form's property of Inherit menu to No and the menu from image 1 isn't shown in "Purchase Order" but I still am not getting the default&smartbar menu.
How can I achieve that?
Thank you.
So I figured out a way how to disable .mmx menu and enable DEFAULT&SMARTBAR menu when I go to another form through the menu.
From the first screenshot above, the on-click-trigger had the following code
call_form(:global.path||'pc');
I replaced it with
call_form(:global.path||'pc',hide,do_replace);
So the addition of
,hide,do_replace
worked.
Side note: Also, make sure Inherit Menu property of Window property is "YES" and Menu Module of form property is set to "DEFAULT&SMARTBAR"
I think in the properties window from the form you got the property "menu module"
If you make a new form it gets the default: DEFAULT&SMARTBAR
So I think it is now filled with your mmb filename.
Default menu of magneto, child items are showed in dropdown list.
I need to change them as submenu bellow main menu (as image).
I tried to change my source code at menu block. But It complex to change and very impact to other blocks.
Is there any other way to do?
I have a Firefox addon that creates several buttons with dropdowns. Each dropdown contains several menu items representing bookmarks.
Almost identical to bookmark folders or tags on the bookmarks toolbar (after having dragged them there) which also have dropdowns with bookmark menu items.
I would like to reuse bookmarks contextmenu already existing on those latter dropdown menu-items.
I have found this way of doing it partly, but I'l stuck (see below how):
var mi = doc.createElementNS(XUL_NS,'menuitem');
mi.setAttribute('class', 'menuitem-iconic bookmark-item menuitem-with-favicon');
mi.setAttribute('scheme', 'http');
//this gets the existing contextmenu all right
mi.setAttribute("context", "placesContext");
//this.pp = my own dropdown menupopup,
this.pp.appendChild(mi);
Resulting contextmenu screenshot:
First (minor) problem:
Everything is grayed out until I first right-click on one of the latter dropdown items before right-clicking my own.
Second (major) problem:
When hitting a command/menu-item of the placesContext menu, the commands (e.g. "Open" or "Open in new tab") are not done. Nothing happens. Is there some attributes that my menu-item misses so that the "placesCmd_open" ignores it or do I really have to override the existing event listeners of placesContext or even different?!
I have two menus first one is "3D" and second one is "2D".
I have some sub menu items in common,for example Getting Started sub item common in 3D & 2D.
But i can't create that menu in same name.But that is very important in our project. How can i create sub menu items with same name?
You can't create two menu items with the same alias but you could link them using:
Menu item Type: System Links -> Menu Item Alias
This menu item will just be a link to the other item using the same alias.
Hope this helps
In menu manager (I use Isis admin template):
Tick submenu you need to duplicate
Click batch tab at top of page (a lightbox appears)
In the second box down, select where you want the menu item to come under
Under this is a copy or move option; select copy
Click Process
Done
P.S. Depending on how your menu assignment is set up, you may then have to go into module manager to your menu module (in my case CK maximenu), menu assignment tab, and tick the appropriate box so that your main menu appears on the page.
I have a litle doubt related to main items and sub items in the Joomla Main MenĂ¹.
If you open this link you can easy understand my problem: http://onofri.org/example/example1/
In this website I have a main menu under the header. This main menu contains a main items named Who We Are which in turn contains 4 sub items that appear when you hover the mouse on the parent item (Who We Are)
Clicking on these sub item correctly appear some statics pages (some articles) and this is ok.
The problem appears if you click on the main iten Who We Are, in this case appear a 404 error.
What can I do to solve this problem? Can I make not clickable the Who we Are main item?
Tnx
Andrea
use "separator" as a menu kind; any other type will be clickable.
separator is available in the bottom group "System links" as "Text separator".
What I always do in such situations is avoiding using items that do not point to anywhere. It is better to do it like this:
Make Who We Are a Article type menu item that will point to article from first sub-menu item in Who We Are
Make first submenu item Erusma Birth an Alias type menu item that will point to your main menu item Who We Are
What you have now is menu where all items point to some place on website. You have no errors and easy to understand navigation. Separator should not be used as main or sub-menu item it self. More like sub-menu column name etc.