Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bruno Chandía
setting configurable liferay-look-and-feel.xml not working
September 13, 2012 11:33 AM
Answer

Bruno Chandía

Rank: New Member

Posts: 10

Join Date: August 16, 2012

Recent Posts

Hi everybody!

I'm reading and developing the example of the Development Guide in the section of "Creating Liferay Theme" (http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/settin-4 )

And i'm trying of add <setting configurable="true" key="slogan" type="textarea" value=""></setting> but i got the next error:

"Attribute "configurable" must be declared for element type "setting". Nested exception: Attribute "configurable" must be declared for element type "setting"."

My file liferay-look-and-feel.xml has this:

-----------------
<look-and-feel>
<compatibility>
<version>6.1.10+</version>
</compatibility>

<theme id="deep-blue" name="Deep Blue">
<settings>
<setting key="my-setting" value="my-value"></setting>
<setting configurable="true" key="slogan" type="textarea" value=""></setting>
<setting configurable="true" key="display-slogan-footer" type="checkbox" value="true"></setting>
</settings>
</theme>
</look-and-feel>
--------------------

somebody have any idea? becouse i not see the problem :/
Julian AFFAIRE
RE: setting configurable liferay-look-and-feel.xml not working
October 9, 2012 12:21 PM
Answer

Julian AFFAIRE

Rank: New Member

Posts: 7

Join Date: October 9, 2012

Recent Posts

Hi Bruno,

in your liferay-look-and-feel.xml file you have a wrong doctype.

You must have:

1<!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">


It will be better emoticon

Julian
Dinakaran Ulaganathan
RE: setting configurable liferay-look-and-feel.xml not working
May 31, 2013 2:37 AM
Answer

Dinakaran Ulaganathan

Rank: New Member

Posts: 1

Join Date: May 2, 2013

Recent Posts

Thank you emoticon emoticon