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

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.

Related

how to correctly upload a WAR file to the file system in Liferay 7.3.5

Using Liferay 7.3.5, i am consistently running into issues regarding theme deploy.
I am trying to upload a theme to my server using the instructions given in the following guide:
https://learn.liferay.com/dxp/latest/en/system-administration/installing-and-managing-apps/installing-apps.html
When i try uploading apps via the file system and into the deploy folder, the file appears to vanish and nothing happens. I have since been uploading it directly to the WAR folder, but i am now running into some issues when a theme is deployed that way.
I expect the theme to be uploaded and working properly, the CSS to be applied to the page(s) and the liferay menu to be intact.
Uploading the theme appears to go well and the theme shows inside the list you can choose from. Inside the list however, the theme doesn’t display a thumbnail.
Problems started once i uploaded multiple themes to the same liferay server.
On the site pages, the CSS is not properly applied and looks broken as if there isn’t any theme applied. The edit page button on the top right is invisible, as are the rest of the menu items.
Publishing the site or reselecting the theme do not resolve the issues, nor did a redeploy of the theme.
Does anybody know how to correctly upload a WAR file to the file system in Liferay 7.3.5, or am i overlooking something else?
UPDATE 22/09/2022
so i have narrowed down the issue a bit. When i first upload a theme to my war folder is works fine. However when deploying a another theme, the first one breaks.
I doesn't really matter which of the theme's i use as it seems to do it for all of them, I created a github with two simple theme war files. If you want to reproduce the issue.
https://github.com/Lincolnmyth/theme
All you have to do is follow the normal steps and upload the theme. Turn the server on, and check if it works. Then turn it back off again to add another one. You'll then start seeing issues in the first theme.
Such as liferay buttons changing the same colour as the background and the css from the theme not working. So for example, the januari theme should change the navbar and add a picture about it. If you upload the other theme however this doesn't work anymore.
I hope this works as a reproducible example

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.

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

Changing text color in Drupal Views admin pages

Hope this is the right place to ask this question. I am new to the forum (and to Drupal!).
I am developing a site using Drupal. Am using Zenophile Midnight and have created a Zen sub Theme. This has three columns, each with a black background.
I am trying to edit a View but when I open the views/edit node I find when I try to create a Filter the text does not show (presumably because it is black). How can I change this just for these pages and not for the whole site? I know the text is there as I can mark it by dragging over it.
Would be grateful for your help.
If you log in as the administrator of the site and select Administer > Site Configuration > Administration Theme there you can change the theme that is used for site administration. This does not affect the theme used by the site for the public view of the site.
You can select the default Garland theme for administration and your custom theme can be applied to the rest of the site.

Help on DotNetNuke

Does any body know how can i change the layout of a dotnetnuke website. I need to modify the standard layout
You can use a custom skin or modify the default skin that comes with the DNN installation. The default skin files are in [Website]\Portals_default\Skins\MinimalExtropy\ where [Website] is your DNN web site folder. If you are new to skinning and have a lot of questions, I am sure that the DNN forums will be helpful - DNN Skinning forums
You can do that by editing the CSS. I had similar issue, for which I used " inspect element" in google chrome that helped me in recognizing div elements and css properties. You can find css in portals_default\Skins\DarkKnight (or your own skin name) \skin.css
If your wanting to do anything outside of the CSS (ie, turn off the search bar on a page); then you have to have full access to the site -- open the site via FTP or download all the files, then you can modify the 'default' page, or the skin file you want to change. my suggestion is to make a 'copy' of the skin default page you want to change, give it a new name, and then save it back to the server. When you go to change the 'skin' theme from the 'site manager' you will see your new skin page listed as an option. Modifying from the CMS does not allow you to modify the actual 'page', only its 'parts'. There is also a starter kit available for Visual Studio, google "DNN Starter Kit" which you can create custom modules, skins and containers.

Resources