Uncheck value of Liferay Edit control by default for all users - liferay-6

I have hidden liferay edit control by using way like....
$theme.include($body_top_include)
#if ($permissionChecker.isOmniadmin())
#dockbar()
#end
it will hide doc bar for all users except Admin.
But I am unable to hide portlet controls icons like plus,minus, close portlet icon.
As we know these icons will not displayed if we uncheck value of edit control checkbox.
Liferay might be storing that edit conrol checkbox value on/off in their session.
So how can we uncheck that value by default for all users?
In short I want set value of edit control checkbox by default false for users .

Remove the custom- and update-permissions for this page for "User", "Power User" and "Site Member" role.

Related

How to change Title/Subtitle in install4j?

I am trying to change the title/subtitle of default "Installation location" screen as provided by install4j. But i cannot find the section in title/subtitle configuration part. The title/subtitle part is available for other screens and can be changed there.
Is there any other way or API using which i can change the Title/Subtite?
Titles and subtitles of standard screens are not directly configurable, but you can override the messages.
On the General Settings->Languages step, set up a custom localization file, then open the built-in editor and click on the "Override messages" tool bar button. Search for the message you want to change and click on OK. Then you can change the text in the editor.

Eclipse RCP 3.x repopulating a ToolBar Combo from a Button Click in a Dialog

In an Eclipse RCP 3.x Application:
I have a Dialog - "User Settings" which contains a Button called "Set User".
The User Settings Dialog, creates and stores a list of User settings and saves them to a file.
In the Application's ToolBar I have a Combo (drop down) which lists these User details.
I would like the "Set User" Button inside the Dialog when Clicked to trigger an updateUsersCombo method which updates the ToolBar's User Combo contents with the updated list of Users, then selects that user in the combo.
I have the updateUsersCombo method worked out just fine...
I simply need a means of calling (triggering) this method when the user clicks"Set User" button from an Open Dialog.
The User Dialog is a Title Area Dialog with SWT buttons.
User Combo is inside of a class extending WorkbenchWindowControlContribution which displays Users and some other settings in the Toolbar.
I'm fairly new to Eclipse 3.x. Any help is much appreciated.
Marv

Do not show user input in console autocomplete

Recently, I have noticed that Google Chrome's JavaScript console autocompletes previously inputted commands. For example:
I want to remove this feature because the autocomplete displays variables that may not exist. Is there a way to remove this feature?
Yes. A lot of people found it annoying, so they added a setting to disable it.
First, enter the DevTools settings from the menu button in the top right corner.
Then, in the "General" section, disable "Autocomplete from history".

What determines when a FileMaker custom menu is disabled?

I have a system that I've built that makes heavy use of custom menus in FileMaker. When I log in as full access, and install the menu set with these custom menus, they appear fine. However, when a non-full access user logs in, they're disabled. This includes most of the custom menus, but not all.
For example, I have left the File>Change Password option in and the user I'm logging in as has the permission to change their password, but the Change Password menu item is disabled.
Other disabled menus include those I've placed in the View menu to navigate to different sections of the system, such as Home, People, Companies, etc. The functionality of these items is duplicated in buttons, and they work, but the menu is disabled. The buttons are calling the exact same script with the exact same parameter.
Alternatively, the File>Close command is left in and is enabled. So both Close and Change Password are based on existing commands but one's enabled and the other isn't. I can't seem to find anything in common with the menus that are enabled vs. those that are disabled.
So, under what conditions will a custom menu item be disabled?
Thanks,
Chuck
The online documentation says the following about when menus are dimmed:
Standard FileMaker menu items are dimmed if users don’t have privileges to perform the menu command. Menus are not dimmed if you attach a script to the menu item.
That being said, I wonder if you aren't encountering dimming because of the menus being based on an existing command which they don't have access to. I would try the following:
Turn off your custom menu for a moment and log in as the user who doesn't have access to the Change Password option. Is it still dimmed using the default menu set? If so, it sounds like you have a permissions issue and should explore that further.
In the permissions 'Edit Permission Set' window take a look at the 'Available Menu Commands' option and see how that is set up. If it's not set at 'All' try changing it to 'All'
For the View menu, look at the custom menu items and see if you have 'Based on existing command:' selected. If the menu item is performing a script, try unchecking 'Based on existing command:' and see if that changes the dimming behavior.
Make certain that the user has permission to run any script which the menu calls.
Good luck!

How do I change the name of an application tab?

I'm working on a facebook page for a client and with the new profiles pages starting to roll out I've come across an issue with the name of the app I created. The original profiles which most of you will see here - http://www.facebook.com/DrMartyBecker says "Welcome" as the tab name. On the new profile pages the tab says 'drMARTY', I can't find the place where I can modify the name. So i was wondering if there was a way to change this and where. Thanks for the help!
piece of cake:
Go to: http://www.facebook.com/developers/
Select your application and click "more"
Select Edit Settings
On left side menu, choose Facebook Integration
The fourth configuration block is respective to Tab settings
Change "Tab Name"
Click on "Save Changes" button
Your Tab was renamed!
[]'s,
And Past