Does anyone know how to modify the CKEditor right-click contex menu?
I am trying to figure out how to remove "Cut, Copy, Paste, Edit DIV" from the right-click menu, and trying to add "Insert Image, Insert Table" to it.
Version 3.6.1 has support in their API for removing context menu items.
#7885 : New editor::removeMenuItem API for removing plugin context menu items introduced.
Related
Currently my plugin.xml has
<extension
point="org.eclipse.ui.popupMenus">
Which contributes to the menu showed when right clicking some file in the project explorer.
In addition, I want to contribute to the menu showed when right clicking anywhere in the editor view (the view with the code itself).
I can't find what's the corresponding extension point for this menu, and how do I contribute to two different menus.
Thanks
The org.eclipse.ui.popupMenus extension point is deprecated and should not be used for new code.
The org.eclipse.ui.menus extension point supports all types of menu.
You define a popup style menu using something like:
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.pde.ui.tools">
... various menu contributions
The locationURI is saying this contribution to the popup menu with id org.eclipse.pde.ui.tools
You must define the id of your editor's context menu in your editor code. How you do this defines on the type of editor your are creating. For an editor based on TextEditor call
setEditorContextMenuId("menu id");
in your editor's constructor.
I am just building out a Personal Portfolio Site using Joomla Platform under TemplateToaster Tool and want to know how to create submenus.I want to add a single Menu in Navigation Bar and want to add 3 submenus under the main menu.
Can anyone help me out of it.Any Joomla User ?
This can be done by creating menu items that have a "Parent Item" that is a menu item in your main menu. Note that your menu template must support nesting in order for these submenus to appear properly (most Joomla menu templates support nesting).
Iam have some problems with a drop down menu. I have asigned a drop down menu to the menu item "test 1". But when iam on the default page it wont show the drop down menu, when i hover the item. It only works when click on the menu item "test 1".
I need the dropdown menu to be showed, no matter witch page you are watching.
Can some one help me? I guess it is a simple styling, but cant seem to figure it out.
You can see the website here
What module are you using for the menu system?
You may try using a different menu extension that the one being used currently.
It may be a CSS issue.
Im newbie to Joomla. How do I change the main menu like screen below to my customize menu?
Menu
Create your own custom menu from the backend. Login to your administrator panel.
Menus->Menu Manager->Add New Manager
Enter the menu details and you will be able to see it in the drop down. Select menu type items and assign articles, contact etc to your newly created menu.
Now under Extensions tab click on Module Manager . Now manage your custom menu to the position you want it to display. Like if you want to display your custom menu as main menu then go to main menu and assign your menu to it under basic options and the position you want it to display.
Following are the links where you can find more help-
Joomla code help
Joomla docs
Not clear from your question that what you need to do but as per your menu image i will describe my answers.
If you need to change the position of menu then go to backend extension->Module Manager->select main menu and change position of main menu.
Also same you can change your custom menu positions.
If you need to change main menu and set custom menu instead of main menu then you need to change menu position and set position of custom menu from module manager.
Menu items will be added from the menus->select menu->add new menu items.
Not clear from your question that what you need to do but as per your menu image I will explain my answer below -
if you want to main menu to be a drop-down menu then you can use some free menu extension module of joomla like JB DropDown Menu or CK Megamenu, dropdown menu.
I wish to create an additional item on the context sensitive right click "ADD" on the solution explorer in vs 2010.
Basically it currently looks like this
New Item
Existing Item
New Folder
Add ASP.NET FOLDER // ACTUALLY THIS IS A MENU with a SUB MENU
Class
What i am trying to do is create a new item similar to "Add asp.net folder" hence it will have subitems
Basically it will be something like this
Add JS items
Add new model
Add new plugin
Basically clicking on "add new model" or "add new plugin" will create a new file UTF-8 and include in the project. It will contain some default code.
I am having a real issue trying to find a good example of how to do this.
Any ideas where i should look?
Anybody seen anything similar?
THanks in advance
Here are some docs to point you in the right direction.
http://msdn.microsoft.com/en-us/library/bb165473.aspx
http://msdn.microsoft.com/en-us/library/bb164699.aspx
Basically commands and menus work the same throughout all of VS, one tricky part is just finding the right Guid of the parent menu that you want to hook in to.