Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

no theme found for specified theme id . returning the default theme

By liferay-plugins-sdk-6.1.1 on theme folder I created a theme for my liferay portal 6.1.1 CE-GA2.

My liferay-plugin-package :

    name=internal_portal
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
liferay-versions=6.1.1

My liferay-look-and-feel :

    <?xml version="1.0"?>
<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.1.0//EN" "http://www.liferay.com/dtd/liferay-look-and-feel_6_1_0.dtd">

<look-and-feel>
<compatibility>
<version>6.1.1</version>
</compatibility>
<theme id="internal_portal" name="internal_portal" />
</look-and-feel>

but after starting up my liferay portal, and after using my portal I see no theme found for specified theme id . returning the default theme in my liferay portal console.

How can I solve this issue?????????

like image 282
brelian Avatar asked Mar 22 '23 05:03

brelian


1 Answers

Try to set this propertiy in your portal-ext.properties and restart your server:

#
# Set the default theme id for regular themes.
#
default.regular.theme.id=internal_portal

I recommend, however, to check the correct id of your theme from the control panel in the section

Plugins Configuration -> Theme Plugins

click on your theme and you will get something like this:

enter image description here

like image 163
Sticcio Avatar answered Apr 06 '23 11:04

Sticcio