Changing Control Panel theme - liferay

There are numerous pages online that I have found that describe what I need to do. I need to change the portal_ext.properties file with the theme:
control.panel.layout.regular.theme.id=mytheme_WAR_mythemetheme
I've changed the property in my portal-ext.properties file and I've even added a copy of the file to my portlet structure (docroot/WEB-INF). I've deployed, restarted tomcat, etc. No changes at all.
What am I missing? Better question - Why is this so unnecessarily difficult?

Or you could do this from control panel.
Log in as Admin (test#lifery.com unless changed)
Make sure you have deployed your theme.
Go to: Control Panel → Portal Settings → Display Settings → Look and Feel → Default Control Panel Theme, and select your theme from the drop-down options.

Correct name of the file is portal-ext.properties not portal_ext.properties.
This file should go under your LIFERAY_HOME folder where LIFERAY_HOME is where liferay is deployed. Just create or edit this file at this location with this property and restart the server

Related

PJS.Bootstrap Orchard Theme Settings

I'm trying to use the PJS.Bootstrap Theme in Orchard. After I've enabled the module I can see a "Theme-Bootstrap" menu option under Settings on the Dashboard. When I click that menu item, all I see is Settings page with just a "Save" button and nothing else.
I'm expecting to see something where I can switch between different CSS styles. When I look at the source for the Theme I'm seeing items like cosmo, cyborg, darkly, etc.
Is there something else I need to do to get the PJS.Bootstrap Theme to show Settings? I'm using Orchard v.1.10.1
Thanks!
You'll probably need to upgrade the module to .NET 4.5.2, it is currently at 4.5.1. So if you add the theme to your themes folder and add it in Visual Studio, then right click the project and select Properties, here you can change the .NET version. You'll probably also need to remove the references to JetBrains in the BootstrapThemeSettingsPartHandler.cs class.

LIFERAY --- Why Can't I Add Configuration Option To My Portlet?

I have an admin-only portlet (you can't add it to a site). I can add the edit portlet mode with no problem and it appears under the gearbox Options menu as Preferences. However, I cannot add the Configure option, even though I do it exactly as shown in Liferay 6.2 User Guide. It does not appear under the gearbox Options menu as it should (as 'Configuration').
I did:
correctly add the default configuration action class in
liferay-portlet.xml
specify .jsp file in portlet.xml
add config portlet mode in portlet.xml
add config-template init param
In both liferay-portlet.xml and portlet.xml I also specify another <portlet>, which can be added on a site (and does not appear under admin content) for which Configuration appears with no problem. Even if I copy its configuration options to the first (the admin one), configuration option for it still doesn't appear.
So what should I do to make Configuration option for my portlet to appear?

How create theme with Liferay-look-and-feel.xml file

I created a theme and a Liferay-look-and-feel.xml file with two color-schemes. I deploy the theme, install it, but when I run it on my website, I receive the follow message "There are no configurable plugins for this app.".
Any suggestions?
I believe by the message you're getting you are in "App Manager". This is good, it means your theme is installed and ready for use. To use your theme, you must configure each site with the theme you've installed. In Liferay, each site is capable of having their own look and data.
To change a sites look and feel, follow the following steps:
Navigate to the site you want to modify.
In the upper right hand, select "Admin", then "Pages".
Here, you should see a list of themes and the color schemes.
Select your theme and the color scheme you desire.
Hit save on the right hand side near the navigation.
When you return to your site you should see your new theme.

Liferay theme reset to default

I don't know if I'm the only one to have this problem, I'm developing a liferay theme using the plugin sdk and eclipse. I have a theme based on classic, when I turn off eclipse and turn on again I found that all changes on custom.css are gone and reset to default classic theme.
this was my fault I was making changes on docroot/custom.css directly, I should put the on _diff/.
You have to done your custom css in _diff/css/custom.css ok
when you create the theme your _diff folder is empty so you just take all css folder, template folder, js folder and images folder form classic theme and place in _diff folder then modify in _diff/css/custom.css file
Have look into following site for more info about liferay Liferay Savvy

How to get to the admin page in Drupal

I've downloaded Drupal 6 and installed it on my local server, and ported a basic web site as a custom theme. I've set this as the default theme and everything works okay; the page appears nice with all the images and layout.
The problem is that now, no matter what I type as the URL I always get to my page. So how can I go to the admin page? /q=user does not work. I can change the theme from the database but that is not what I want. I just want to keep this theme and be able to access all the Drupal functionality.
For the custom page i've created the page.tpl.php and .info file. Along with the CSS file I've put them all in a new folder in the themes directory.
#abhaga's answer is spot on - you've turned the entire site's theme into a single page's HTML, so they're all going to be the same.
If you'd like to avoid glitching the admin side of things with a bad template file, you can set one of the core themes as your "administration theme" (in Site Configuration) - that way, the admin backend will always use that theme regardless of the other templates.
Ah! Basically page.tpl.php specifies the over all structure of site. Look at the original page.tpl.php file - it will be printing a variable called $content somewhere. That is the variable holding all the content of your specific page. You will need to print it at appropriate place in your pge.tpl.php
You should check out the right way of creating a theme here: http://drupal.org/theme-guide/6

Resources