Customize menu

Clicking on the elipses (...) on a document a menu pops up 
View properties
Edit properties
Versions
etc...
I've been asked to remove "Publish a major version" from this list.
Can I customize this in SP2013 designer and if so, how?  
Thanks
Tom

This worked, thanks.
For those who may use this I have a few some comments:
It was one long string in my editor and commenting out the "AddCheckinCheckoutMenuItem" caused the entire line to be removed.  So I just deleted that call.
Also, I figured out what he meant was to make a copy of CORE.JS and call it customcore.js then copy it back into that directory.
I then went to the page in question and Edited it in Sahrepoint.  Adding a Web Part > Script Editor and pasted in <script src="/_layouts/15/customcore.js" type="text/javascript"></script>.  Note:
there was an extra space in the example after /15 whihc needed removed.
Note, this is the "Hammer approach" and will remove Checkin/Checkout also.  I needed to be more granular. So after finding the function in the awful single string unformatted file, I formatted it and commented just this:
                var x = null;
                if((currentItemModerationStatus==String(1)||currentItemModerationStatus==String(3))&&a.isModerated||!a.isModerated&&k!=0){
                 //Removed 12/14
                 //d=Strings.STS.L_PublishItem_Text;
                 //c="PublishMajorVersion(event, '"+a.HttpRoot+"', 'List="+a.listName+"&FileName="+f+"&Publish=true')";
                 //e=a.imagesPath+"pubmajor.gif";
                 //b=CAMOpt(g,d,c,e,null,String(320));
                 //CUIInfo(b,"Publish",["Publish"]);b.id="ID_PublishItem"
                 x=null;
                 else {

Similar Messages

  • [SOLVED] XFCE customize menu help: applications and directory menu

    I've been trying to make some progress with customizing XFCE menus. There are two menus I'm trying to create, listed below.
    Yes, i have read http://wiki.xfce.org/howto/customize-menu
    No, I'm not saying I understood all of it.
    1. I want to have a custom Applications menu that lists all installed applications, without categorization. Preferably alphabetical. I'm guessing it has a lot to do with adding a lot of <include> directives.
    Here's what I've tinkered with so far, which produces categories of apps.
    <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
    "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
    <Menu>
    <Name>Xfce</Name>
    <DefaultAppDirs/>
    <DefaultDirectoryDirs/>
    <DefaultMergeDirs/>
    <Include>
    <Filename>xfce4-run.desktop</Filename>
    </Include>
    <Layout>
    <Merge type="all"/>
    <Separator/>
    <Menuname>Settings</Menuname>
    <Filename>xfce4-run.desktop</Filename>
    </Layout>
    <Menu>
    <Name>Settings</Name>
    <Directory>xfce-settings.directory</Directory>
    <Include>
    <Category>Settings</Category>
    </Include>
    <Layout>
    <Filename>xfce-settings-manager.desktop</Filename>
    <Separator/>
    <Merge type="all"/>
    </Layout>
    <Menu>
    <Name>Screensavers</Name>
    <Directory>xfce-screensavers.directory</Directory>
    <Include>
    <Category>Screensaver</Category>
    </Include>
    </Menu>
    </Menu>
    <Menu>
    <Name>Accessories</Name>
    <Directory>xfce-accessories.directory</Directory>
    <Include>
    <Or>
    <Category>Accessibility</Category>
    <Category>Core</Category>
    <Category>Legacy</Category>
    <Category>Utility</Category>
    </Or>
    </Include>
    <Exclude>
    <Or>
    <Filename>exo-file-manager.desktop</Filename>
    <Filename>exo-terminal-emulator.desktop</Filename>
    <Filename>xfce4-about.desktop</Filename>
    <Filename>xfce4-run.desktop</Filename>
    </Or>
    </Exclude>
    </Menu>
    <Menu>
    <Name>Development</Name>
    <Directory>xfce-development.directory</Directory>
    <Include>
    <Category>Development</Category>
    </Include>
    </Menu>
    <Menu>
    <Name>Education</Name>
    <Directory>xfce-education.directory</Directory>
    <Include>
    <Category>Education</Category>
    </Include>
    </Menu>
    <Menu>
    <Name>Games</Name>
    <Directory>xfce-games.directory</Directory>
    <Include>
    <Category>Game</Category>
    </Include>
    </Menu>
    <Menu>
    <Name>Graphics</Name>
    <Directory>xfce-graphics.directory</Directory>
    <Include>
    <Category>Graphics</Category>
    </Include>
    </Menu>
    <Menu>
    <Name>Multimedia</Name>
    <Directory>xfce-multimedia.directory</Directory>
    <Include>
    <Category>Audio</Category>
    <Category>Video</Category>
    <Category>AudioVideo</Category>
    </Include>
    </Menu>
    <Menu>
    <Name>Network</Name>
    <Directory>xfce-network.directory</Directory>
    <Include>
    <Category>Network</Category>
    </Include>
    <Exclude>
    <Or>
    <Filename>exo-mail-reader.desktop</Filename>
    <Filename>exo-web-browser.desktop</Filename>
    </Or>
    </Exclude>
    </Menu>
    <Menu>
    <Name>Office</Name>
    <Directory>xfce-office.directory</Directory>
    <Include>
    <Category>Office</Category>
    </Include>
    </Menu>
    <Menu>
    <Name>System</Name>
    <Directory>xfce-system.directory</Directory>
    <Include>
    <Or>
    <Category>Emulator</Category>
    <Category>System</Category>
    </Or>
    </Include>
    <Exclude>
    <Or>
    <Filename>xfce4-session-logout.desktop</Filename>
    </Or>
    </Exclude>
    </Menu>
    <Menu>
    <Name>Other</Name>
    <Directory>xfce-other.directory</Directory>
    <OnlyUnallocated/>
    <Include>
    <All/>
    </Include>
    </Menu>
    </Menu>
    2. I want to make a different Directory menu, possibly by implicating a custom Applications menu. If I could locate the .menu file for the Directory menu panel item, I would like to make minor adjustments to the menu, and invoke it through the Applications menu panel item.
    I should state that what I'm trying to accomplish is
    a) to remove the submenu-like options with the Directory menu (open Folder, open in Terminal) to have one-click to open the folder directory
    b) to add a label next to the panel icon (aesthetics), which would be accomplished through using the Applications menu panel item.
    Edit: clarity
    Last edited by heyitstallchris (2014-07-31 02:02:36)

    Firstly, I'll tackle menu 1.
    No need to create an include line for every .desktop file. Do the following:
    $ mkdir ~/.config/menus
    $ cd ~/.config/menus
    $ touch custom-apps.menu
    Edit the file we have just created and populate it with the following:
    <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
    "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
    <Menu>
    <Name>Applications</Name>
    <DefaultAppDirs/>
    <DefaultDirectoryDirs/>
    <DefaultMergeDirs/>
    <Include>
    <Category>X-Xfce-Toplevel</Category>
    <Category>Settings</Category>
    <Category>Accessibility</Category>
    <Category>Core</Category>
    <Category>Legacy</Category>
    <Category>Utility</Category>
    <Category>Development</Category>
    <Category>Education</Category>
    <Category>Game</Category>
    <Category>Graphics</Category>
    <Category>Audio</Category>
    <Category>Video</Category>
    <Category>AudioVideo</Category>
    <Category>Network</Category>
    <Category>Office</Category>
    <Category>System</Category>
    </Include>
    <Layout>
    <Merge type="all"/>
    </Layout>
    </Menu>
    Now just create an application menu panel item and point it to the custom menu file we just created.
    This will display every application installed on your system, and any custom .desktop entries you may create (as long as they are set in one of the categories in the menu file). Add or remove categories as you need.
    If you want to have the "Run Program" and other "Action" items that are in the default Xfce menu, add a category line for "X-Xfce-Toplevel"
    Alternatively, you can forego all the <Category></Category> lines and simply use <All/>
    [EDIT] and since this is using garcon (Xfce's menu library), the apps will be in alphabetical order [/EDIT]
    Cheers.
    Last edited by Padfoot (2014-07-17 09:42:16)

  • GRC AC 10.0 - Customize Menu

    Hello!
    Does anyone know if there is any documentation how to customize the GRC AC Menu? I have achieved to create a launchpad called "Special Transactions" next to the standard launchpads "MyHome", "Setup", "Access Management" and "Reports and Analytics", however I get a runtime error when I click on my custom launchpad. I want to show there some useful transactions that give some additional information.
    Since I didn't find any documentation I don't really know what I've done wrong, and therefore I can't correct it. Has anyone already had some expierience with this or has any additional information?
    Thanks in advance
    Michael Gahler

    Hi David,
    1) First need to check whether the connection test and authorization tests are works fine. Then we can say that no issues with RFC.
    2) Try to run the Sync job through SPRO and please let us know what is the error u r getting, you can see that in job log.
    3) Hope you did the settings (Maintain Connection settings) under Common Component settings -> integration frame work. And along with this, we have to add the connector under Access control -> Maintain Connection settings.
    Check this settings once.
    All the best.
    Thanks,
    Sankar.

  • Want to customize Menu Bar - Where can I find explanations of the almost 200 editable items in the Properties for "ul.MenuBarHorizontal" ?

    I want to design/customize a horizontal Menu Bar. However I'm flying blind on what the meanings (parameters) of each of the almost 200 editable items are in the Properties for "ul.MenuBarHorizontal" ?
    Where can I find each item explained? Have looked on line and in the library.
    Thanks.

    Here's a link to the help pages for the Spry Menu Bar: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS90E6DF98-60A3-41a4-B427-CD057D57BB7A. html#WS37318579-3916-46db-80D1-A8C5E6777BE5a
    Understanding the CSS for a Spry Menu Bar is an exercise in understanding descendant styles. David Powers has just published a good tutorial on the Spry Menu Bar. His explanations are very good.
    http://foundationphp.com/tutorials/sprymenu/customize1.php will get you there.
    Beth

  • Customize menu LV

    Hello,
    I want to customize a toolbar Menu with picture.
    Help me.
    Phil.
    NTA-Automation
    Philippe B.
    Certified Associate Developer / Dépt Moyens d'essais
    www.ingenia-system.com

    HI
    Make controls as customize controls, just right click on control then goto advance and then customize.
    You can add the picture in to your controls
    Hope this helps
    Regards
    Santosh

  • Customize menu mmb colors or background

    Hi all.
    Is there a possibility to customize the menu ? I meant, as a background color, image or a gradient fill.
    thanks for your reply.

    user5691644 wrote:
    Hi all.
    Is there a possibility to customize the menu ? I meant, as a background color, image or a gradient fill.Hello,
    What is your form version ? Do you want to change them together or separately ?
    If together, create a visual attribute first from visual attribute node and then change the menus visual attribute property.
    If separately, change the menus property. (Background color,icon etc.)
    Hope this will help you.
    If someone response's is helpful or correct, please mark it accordingly.

  • Customize Menu Items

    Hello Experts,
    Can I customize the menu for any user ?, like I don't want to show HELP Menu item to all. Can I block Help or some other menu.
    Thanks & Regards

    Hi Shazad,
    i am sorry, but you can not block menu items like Help / edit etc. You only could customice the B1 menu it self. But in my opinion there might be a possibility to customice the program menu. You should ask at SDK forum.
    Regards Steffen

  • No 'Refresh' tab, can't find in Customize menu

    Another application directs me to refresh my browser page. FF doesn't show any command for doing that. I followed instructions from a user in your community, but there is no option for refreshing or reloading in the Customize palette.

    Some entries in the View and History menu have been removed to clean up the user interface because studies showed that these were low usage items.<br />
    On Windows and Linux these were already hidden when you used to mouse to access the menu bar and only appeared when you used the keyboard.<br />
    You can click the toolbar Home button (far right on Navigation Toolbar) or use the keyboard (Alt/Option + Home).<br />
    You can find Back, Forward, and Reload in the right-click context menu in the browsing area or use the buttons on the Navigation Toolbar.
    See also Help > Keyboard Shortcuts
    * https://support.mozilla.org/kb/Keyboard+shortcuts
    *Comeback View Menuitems: https://addons.mozilla.org/firefox/addon/comeback-view-menuitems/

  • How to customize menu

    Good Morining,
    I want to make a stand alone application of my vi.
    So I created an exe file. But I want to make it like the programs which we download from internet. Because if a non labview user want to use my application he will not know where is the run button or how to execute the application. So I want to make the front panel look like something which is understood by non programers. Is there a way to do so.
    Thank you for your help.
    Attachments:
    SSLT.zip ‏591 KB

    Here are a couple of "How-to" videos you may find useful:
    Hide the LabVIEW toolbar: http://www.youtube.com/watch?v=2CbKuBVGzo0
    Customize the run time menu: http://www.youtube.com/watch?v=wkpiAmHFddM
    ~Simon

  • Customize menu css

    I'm trying to change the background to a Menu inside a MenuBar. I was able to change the MenuItem's background, but there's this gap at the top and at the bottom of the menu which is still gray, and I can't seem to find a way to change it.
    This is my code
    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.stage.Stage;
    public class CustomizeMenu extends Application {
      public static void main(String[] args) { launch(args); }
      @Override public void start(Stage stage) {
        MenuBar mb = new MenuBar();
        Menu menuFile = new Menu("File");
        Menu menuView = new Menu("View");
        menuView.getItems().addAll(new CheckMenuItem("All"), new CheckMenuItem("None"));
        menuFile.getItems().addAll(new MenuItem("Open"), menuView, new MenuItem("Close"));
        mb.getMenus().add(menuFile);
        Group g = new Group(mb);
        Scene scene = new Scene(g, 400, 300);
        scene.getStylesheets().add(CustomizeMenu.class.getResource("custom-menu.css").toExternalForm());
        stage.setScene(scene);
        stage.show();
    }This is my css
    .menu  {
      -fx-background-color: blue;
      -fx-text-fill: white;
    .menu-item{
        -fx-background-color: blue;
    .menu-item .label {
      -fx-text-fill: white;
    .menu-item:focused .label {
      -fx-text-fill: white;
    }Any help would be much appreciated, thanks.

    ascuccimarra wrote:
    Thanks for your response David, that did the trick. Didn't even find a reference to it in caspian.css. This definitely seems something that could be improved. Hope this thread helps others.ContextMenuContent is inserted into the scene graph when the menu is rendered. Basically it seems belong to the skin. You can find out about this with ScenicView if you manage to get hold of the scene used by the ContextMenu popup (I could do this with a CustomMenuItem). Regarding the css, David simply used the classname as selector as documented in the css reference.

  • Customize menu bar?

        Is there a way I can manually change the order of icons in the menu bar at the top of the screen?

    CMD+click & hold an icon on the right-hand side and drag to its new location.

  • Customize menu themes

    everyone probably knows this:
    i wanted a simple single menu for a 'one chapter' type project.
    e.g., Brushstroke... /Library/Application Support/iDVD/...
    i wanted to remove the drop zone (the was only one). you can show contents on a theme and start experimenting with removing whatever you want, rinse, repeat.
    i simply removed the the Patch file of the DZ1 and also the patch file that make s the highlight over the main play button, save as favorite. put files back and youre all set! the only patch i had to keep out until after burn was the button highlight.
    the two folders i played in are BrushstrokeDZ1.pox and then shopwing contents (again) of Brushstroke-Main.theme and inside that BrushstrokeButton.Media.pox.
    you can probably remove some entire dirs but i just went for specific files and did not work back to find out.
    ymmv

    Hi Ted!
    I am pretty sure that not everybody knew that!
    Thanks for taking the trouble to post it here!

  • My "New tab" button is missing, it is not located among the others in the "customize" menu. Is it possible to bring it back next to the page arrows?

    I mean, I use the same version of Firefox on a similar cpmputer at work, and I do have the "Open new tab" aviable.
    I know there are other ways to open a new tab, but I really preffer this one.
    I tried everything, but I'm stuck. Help appreciated.
    Thanks.

    You can find the New Tab button showing as a '+' on the Tab bar.<br />
    You can open the Customize window and drag the New Tab button from the Tab bar on another toolbar and it will become a regular toolbar button like the New Tab button that you have in Firefox 3 versions.<br />
    If you want the New Tab button at the far right end of the Tab bar then place a flexible to the left of it.<br />
    * New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • Would like to add "Reload" or Refresh button but do not see it as an option in the customize menu buttons

    See previous

    Hi Sieggy
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Can I add more than one horizontal separator to the PanelUI (the new panel menu)

    Steps:
    1. Click the new panel menu button (hamburger)
    2. Click Customize
    3. On the left, drag "Separator (for panel menu)" from "Additional Tools and Features" to the panel on the right. A horizontal separator appears. "Separator (for panel menu)" no longer appears in the "Additional Tools and Features".
    I can add many "Separator" (vertical separator) to toolbars, but it appears I can only add one "Separator (for panel menu)" (horizontal separator) to the panel.
    I would like to add additional horizontal separators to the panel. Is there a way to do that?
    Firefox version: 33.1.1

    Yes, I do have Classic Theme Restorer installed (I love it!), but missed these customization nuances. After reading more threads, searching, and reviewing prefs.js, I saw the ctraddon_puib_separator.
    A while back, I had problems with vertical separators, specifically with AIOS, and had also looked for horizontal separators. The solution at that time was customizableui-special-separator{d}, where d was a unique digit.
    I always found the customization menu to be difficult to use, especially if a buttons addon was installed, mainly because it was unordered. I recently installed Sort and Search Customization Dialog and it has made a world of difference.
    I just started changing my FF ways and using the new menu. I wanted to divide up the menu into sections or activities. On top I'd have a row of user tools like history, bookmarks, then a divider and have a row of customization tools, another divider and development tools. The divider which provides the visual separation and grouping is really nice. I hope FF adopts them. I'll take my questions and feedback to the Classic Theme Restorer Forum thread shown on the addon page:
    https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer
    Thank you.

Maybe you are looking for

  • Schedule a report with parameter

    Hope this isn't a silly question - I'm very much a new boy to Business Objects. I have a report that the user wants to have run weekly. However, the report prints weekly data forecasts for the current week and for a number of weeks to come - probably

  • Reverse delivery with batchsplit

    Hi All, when you reverse the Transfer Order the batch split line has to be removed using an SAP program, Can anyone let me know that?

  • Basic transition between two pictures (MCs)

    I'm trying to implement a typical gallery fade transition between two pictures when a thumbnail is clicked, but the tweens aren't showing. The individual pic information is loaded from an XML file, not the library. The correct picture is displayed, b

  • Can't enable GPU aceleration in Photoshop CS4

    I can't enable the GPU aceleration in Photoshop CS4 64bits. This problem is happening since I installed my new GTX295, but I think this should be compatible with PS CS4 (I'm running the newest Forceware 182.22) Thanks

  • Premiere Pro CS5 - Peak files regenerating in the middle of edit session...

    Peak files generate at the beginning of edit session as expected.  Then unexpectedly get peak files generating during the edit session. I notice the file names for the peak files generating are the same files that were loaded upon opening the edit se