Remove minimize/maximize buttons across all portlets
Is there a way to remove all minimize, maximize, and refresh buttons from all portlets across the entire portal?
I'd also like to somehow force the maximizing of all portlets. This will help get around the problem with all those people who have minimized and will no longer have a way to maximize those portlets after removing their ability to minimize.
Thank you for you help in advance.
tomS.
I found it!
In my Portal Customization 1 class manuals under the Adaptive styles section; it mentions the portletCollapseButton CSS style tag.
What's even better, is that you can set how these buttons are displayed globally, by community, by page, and/or by portlet.
Modify this file to make immediate changes
...\ptimages\imageserver\plumtree\common\public\css\mainstyle-en.css
Modify this file to use CSSMill to make changes:
...\ptimages\tools\cssmill\templates\portal60.template
Here are some exaples of how you can manage the display of the collapse/refresh buttons on your portlet title bars:
Example: Hide collapse button for the portlet whose id=6 on the page whose id=1.
#pt-page-1 #pt-portlet-6 .portletCollapseButton
display: none;
Example: Disallow collapsing of portlets by user="guest".
.ptPageUser-guest .portletCollapseButton
display: none;
Example: Disable collapse buttons on all portlets for the community whose id=200.
.ptCommunity-200 .portletCollapseButton
display: none;
You can do the same with the other buttons as well:
.portletCollapseButton
.portletHelpButton
.portletPrefsButton
.portletRefreshButton
.portletTitle (for the whole title)
I hope this helps someone else out there.
Similar Messages
-
Close and minimize/maximize buttons disappeared
The close, minimize, maximize buttons in the top right corner don't show. They are there, but well...not. If I press in the top right corner, it acts as if I pressed the close button...asking if I'm sure and such. This happens all the time when I have multiple tabs open and try to click on or close the furthest right tab. The only way I can close tabs in this situation is by right clicking on it.
I've seen previous questions on this and tried all the suggested solutions: removing the persona to revert to default appearance, resetting firefox, hitting f11 to switch to fullscreen and back, uninstalling and reinstalling Firefox, changing toolbar settings as to what shows and what doesn't...nothing has worked and this problem is getting quite irritating.Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do not click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Try to disable transparency in Windows.
Right click in a free space on your desktop.<br />
Left click on Personalization.<br />
There are four options at the bottom of the screen, choose "Window Color and Appearance".<br />
Select a border color<br />
Uncheck: "Enable transparency"<br /> -
Modal Frame or Dialog with Minimize/Maximize buttons
I want to create a window (dialog or frame) that is modal and has the minimize/maximize buttons. Is it possible? How?
I normally would use a dialog if I wanted the window to be modal, but a dialog does not have the minimize/maximize buttons. I normally would use a frame if I wanted the window have the minimize/maximize buttons, but a frame cannot be modal.
Any suggestions, please?You can make your "modal panel" listener the window events from all others frames:
public class YourModalFrame extends JFrame implements WindowListener{
public YourModalFrame(JFrame owner){
super("Modal Frame");
this.owner = owner;
// we put a glass panel into the main frame
JPanel glassPanel = new JPanel();
glassPanel.setOpaque(false);
glassPanel.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
// blocking the events!!!
glassPanel.addKeyListener (new KeyAdapter() {});
glassPanel.addMouseListener (new MouseAdapter() {});
glassPanel.addMouseMotionListener(new MouseMotionAdapter(){});
owner.setGlassPane(glassPanel);
// the frame will listener owner windows events
owner.addWindowListener(this);
// Window Listener //
* Invoked the first time a window is made visible.
public void windowOpened(WindowEvent e){}
* Invoked when the user attempts to close the window
* from the window's system menu. If the program does not
* explicitly hide or dispose the window while processing
* this event, the window close operation will be cancelled.
public void windowClosing(WindowEvent e){}
* Invoked when a window has been closed as the result
* of calling dispose on the window.
public void windowClosed(WindowEvent e){}
* Invoked when a window is changed from a normal to a
* minimized state. For many platforms, a minimized window
* is displayed as the icon specified in the window's
* iconImage property.
* @see java.awt.Frame#setIconImage
public void windowIconified(WindowEvent e){
// Do you want this too?
//super.setState(JFrame.ICONIFIED);
* Invoked when a window is changed from a minimized
* to a normal state.
public void windowDeiconified(WindowEvent e){
if(super.getState() == JFrame.ICONIFIED)
super.setState(JFrame.NORMAL);
this.requestFocus();
* Invoked when the window is set to be the user's
* active window, which means the window (or one of its
* subcomponents) will receive keyboard events.
public void windowActivated(WindowEvent e){
this.requestFocus();
* Invoked when a window is no longer the user's active
* window, which means that keyboard events will no longer
* be delivered to the window or its subcomponents.
public void windowDeactivated(WindowEvent e){}
} -
I can get Firefox to open and sometimes even browse properly for a few moments, but then I can't click on anything. Or, more accurately, I will click but then nothing happens. I can't even exit out of Firefox, because when I click on the minimize/maximize buttons or the red x, nothing happens. I then have to exit using ctrl/alt/delete, but the task handler even then claims that Firefox is running properly. I ctrl/alt/delete my way out anyway.
I've done everything I can think of. I've checked for updates, run CCleaner, defragged, run disk cleanup, and checked for malware. This persists in happening, but only in Firefox, not in IE.
I should mention I'm on a Dell laptop.Oh thank you for posting on how to enter safe browsing! I had tried to disable add-ons, but couldn't make anything click to do so. So frustrating!
Anyway, after putting on the safe browsing, it worked *immediately*, so clearly the add-ons were the issue! I deleted a bunch I don't use anyway, and it's been working fine for hours.
Thank you!! -
I need to remove "minimize, maximize, close" buttons on full screen mode
I can remove all buttons (like refresh, back, forward, address bar, etc..) but the little right 3 buttons "minimize, maximize, close" i cant remove, how can i make with userChrome.css or other option.
Because i can close firefox exiting from fullscreen and clicking on archive menu with "Alt" key.
I dont wanna this little 3 buttons, that i can hide and show permanent.
I hope explain me correctly
Thanks a lotAdd code to userChrome.css below the default @namespace line.
*http://kb.mozillazine.org/userChrome.css
<pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#autohide-context { display:none!important; } /* hide context menuitem "Exit Full Screen Mode" */
#window-controls { display:none!important; } /* hide window controls in full screen mode */
</nowiki></pre> -
Maximize/Minimize/Close buttons are all greyed out
Hello. Ever since a few days ago, the green, yellow, and red maximize/minimize/close buttons at the top left of every window have all been greyed out. They're all still completely usable and they do what you would expect them to do...there's just no color in them anymore. This is happening for all applications.
I'm not really sure what's causing this. I don't remember exactly when it stopped working or what happened right before it, but it may have started happening right after my computer shut down, possibly from overheating (My friend was trying to be funny and opened the application window in finder and then pressed Cmd+a followed by Cmd+o --- To open all of my applications. We watched it chugging along for a while and then the screen just went black and the computer turned off). I don't know if that would cause the problem, I'm not really sure why it would.
I tried a google search but came up empty handed. Any advice on how to fix this would be much appreciated. Thanks.No problem at all! Do remember to check the smallest things first before thinking that it is a big thing.
-
Remove the Maximize Button from JFrame
Dear all,
i am haviing problem with JFrame, that i need JFrame with Minimize and Close Button but not Maximize button.
Please send me the code in which ***JFrame can show only Minimize button and Close Button***
Thanks and Regard
Md Zahid Nasimfairly simple (at least in 1.6)
iterate the frame's components (recursively) looking for AbstractButton
when found remove it
the max button is the first one, so code it so it only removes once
if you use the os's titlebar (windows, anyway) the button will still be there, but disabled
if you use JFrame.setDefaultLookAndFeelDecorated(true), the button will be removed -
Flex3 popup window with minimize/Maximize buttons
Hi All,
We are using title window as a pop-up in FLEX 3
The title window has a property called closeButton which when set to true displays a close button on the top right hand corner of the title window. Likewise, We also need minimizeButton property which can minimise the window. Is there any such component like title window which has this property of minimize/maximize the window or is there any suggestion to achive the same.
Thanks in advance.
Regards,
VenkateshHi All,
We are using title window as a pop-up in FLEX 3
The title window has a property called closeButton which when set to true displays a close button on the top right hand corner of the title window. Likewise, We also need minimizeButton property which can minimise the window. Is there any such component like title window which has this property of minimize/maximize the window or is there any suggestion to achive the same.
Thanks in advance.
Regards,
Venkatesh -
Close, Minimize, Maximize buttons won't work
So lately the close, minimize and maximize buttons in Safari, Chrome and Firefox won't work. Also, I can't move/drag the window easily, I have to click like 10 times and try over and over again so I can drag it. If I have two windows open (not tabs) I cant close unless i go cmd+W. Do you know what must be wrong? Those buttons work fine in some apps, but finder has that problem too.. I try to force close them and they won't eve appear on task manager, which is weird, they used to. Oh and my launchpad button (in the dock and in the keyboard) also doesn't work.
I found out that it wasn't just Safari, I had the same problem with FireFox. On the forum I found the (I think) solution:
http://discussions.apple.com/thread.jspa?messageID=12073845#12073845
It looks like the problem is solved
Marc -
Item ID for Minimize, Maximize button at system form title bar
Hi,
Can anyone help me out finding Item ID for Minimize, Maximize and close buttons at system form title bar (Left side Title of form and right side three buttons). I need ID for these items, if anyone knows please reply. will appreciate help on same.
Thanks,
JayI'm tryin to get over with Item master screen strech machenism. I've Added matrix at pane 6 and position is not fixed when ever form is rezised or base product font size is changed. I've alredy tried providing values to top left width height through oexisting item vaues, I'm not using any integer value. Let me know if i can freez it's position ....... Sample code below
oExistingItem = oForm.Items.Item("174")
oItem = oForm.Items.Add("mtx_MFGALS", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
oItem.Top = oExistingItem.Top + oExistingItem.Height + oExistingItem.Height
oItem.Width = oExistingItem.Width + oExistingItem.Width
oItem.Height = oExistingItem.Width
oItem.Left = oExistingItem.Left
oItem.FromPane = "6"
oItem.ToPane = "6"
oMatrix = oItem.Specific
oMatrix.Columns.Add("Col0", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oMatrix.Columns.Item("Col0").TitleObject.Caption = "Line #"
oMatrix.Columns.Add("Col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oMatrix.Columns.Item("Col1").TitleObject.Caption = "Name"
oMatrix.AutoResizeColumns()
Regards,
Jay -
Minimize, Maximize buttons
Hi,
Anyone has an idea on how to modifiy the front panel when running to only show the close button (X) without the Minimize and Maximize/Restore on the top right hand side.
Thank you.Go to File->VI Properties->Window Appearance. Click the Customize button. Uncheck the two highlighted options.
Message Edited by Matthew Kelton on 02-21-2008 12:29 PM
Attachments:
VI Properties.png 18 KB -
Customizing Close / Minimize / Maximize buttons
Is there an easy way to customize the red, yellow and green window buttons? I've found other OS images in the System/Library/CoreServices that you can change, thereby "customizing" the look of the OS. It would be nice if I could change these to hues of Blue.
I do see these images in the SecurityAgentPlugins/loginwindow.bundle. You can change the apple logo and other icons in the login window. But I don't see these buttons on the login window, so don't know why there are there. Haven't tried updating them yet.
I know it's dangerous to go around in the System folder. I'm an old Mac vet.... have clones... and don't mess around with anything I don't understand. I just like altering the images as it makes the OS more suited to my likes.
BryanI found out that it wasn't just Safari, I had the same problem with FireFox. On the forum I found the (I think) solution:
http://discussions.apple.com/thread.jspa?messageID=12073845#12073845
It looks like the problem is solved
Marc -
How can I restore Minimize & Maximize buttons in LR5
I tried clicking on the letter F, but it just brings me to Full Screen, no matter how many times I press it. I have a Mac 10.9.5. This is driving me nuts. Thanks
Just the F key doesn't work on a Mac, at least mine and the OP's
-
I am literally stuck in Firefox. Suddenly the window changed to full screen mode, and the title bar and Firefox menu disappeared, along with the close, minimize, and maximize buttons. All I can access are the menu bar and open browser tabs.
I can't even access my dock (on Mac), which usually pops up when I mouse over the bottom of the screen.
So, the only way it seems I can get out of Firefox is to shut down my computer by pressing the power button. Unless there is some keyboard shortcut. I tried command-11 but that just switched between open my browser tabs.
FYI i have no idea what Ubuntu is and don't think I'm using it (that name seems to pop up when I google this problem)
Oh yeah, also I'm using Firefox 3.6.2 because my elderly Mac is running on OSX 10.4.11. Have never had any problems with it before.IN your iTunes library, does the movie appear with a cloud on it for downloading?
is the movie still in the iTunes Store?
iTunes purchases the rights to sell a movie, but those are for a time limit. If the right expires and apple doesn't renew, the movie is no longer available for download and must be saved in your library. I suggest backing up your movies ASAP. Check the store for this movie, perhaps it is still available. -
Remove Maximize button from popup window using Webdynpro ABAP
Hi,
Is there a way to remove the maximize button from a popup window using Webdynpro ABAP?
Thanks,
JayHi Jayanth,
I think by setting is_resizable parameter pass abap_false. try this
lo_window = lo_window_manager->create_window(
window_name = 'POPUP'
title = 'Window'
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
message_type = if_wd_window=>co_msg_type_none
is_resizable = ABAP_FALSE ).
Cheers,
Kris.
Maybe you are looking for
-
There are quite a few songs, videos, television shows, and movies I purchased years back, well before the cloud with two different user id's that I don't remember the passwords for, and when I try and get to the security questions, it says the inform
-
UCCX 8.5.1.11002-22 CAD Agent & Supervisor Errors on Windows 7 PC
We recently upgraded to UCCX 8.5.1.11002-22. We subsequently upgraded all CAD to 8.5 too. Everything was fine for 3 weeks but this morning two Windows 7 systems were not getting logged in. On launching 'Unable to download file could not open destin
-
Mavericks multiple iCloud emails stopped working
The iCloud settings for my Apple Mail iCloud accounts have changed, not with any interaction from me. Now only one of the four iCloud accounts I have attached to my Mail client is working. I've had these accounts since the .Mac "Family Account" day
-
Hi, 1) I want to know ,where the statements(Normal statement,Prepared statement,Precompiled statement) get compiled. 2) Why prepared statement call as a precompiled statement.What is meaning of "precompiled" over here. 3) What is difference between n
-
Hi, Can we create reports over Database Link in OBIEE ?? we want to create reports wich is on another database ,we are refering the table in SQL as apps.gl_je_lines@crp2 how can we refer this in rpd?? thanks in advanced