Message Boards

Custom title on Look and Feel Configuration was not saved

thumbnail
Vitor Manuel Lopes, modified 6 Years ago.

Custom title on Look and Feel Configuration was not saved

New Member Posts: 17 Join Date: 5/10/13 Recent Posts
Hi

I have a problem this moment, when i try to edit custom title on look and feel of an asset publisher, it was not saved...
I click on save, close dialog, open again look and feel configuration and custom title still "Asset Publisher".
Someone can help with this topic?

Regards
Vitor
thumbnail
Samuel Kong, modified 6 Years ago.

RE: Custom title on Look and Feel Configuration was not saved

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
What version of Liferay Portal are you using? Any errors?
thumbnail
Vitor Manuel Lopes, modified 6 Years ago.

RE: Custom title on Look and Feel Configuration was not saved

New Member Posts: 17 Join Date: 5/10/13 Recent Posts
Hi Samuel

I'm using liferay 7 CE GA3
I don't have any erros on console...

Very weird... becaus when i click save the success message was showed... i close and open again and data was not saved
thumbnail
Vitor Manuel Lopes, modified 6 Years ago.

RE: Custom title on Look and Feel Configuration was not saved

New Member Posts: 17 Join Date: 5/10/13 Recent Posts
I already get a problem (my fault)

if i show portelt title it appears correct tilte... but i need to get a custom title on ADT... I use this code:


 <#assign portlet_display = portletDisplay />
        <#assign portlet_title = htmlUtil.escape(portlet_display.getTitle()) />
         
        <h1 class="padding text-center" style="color:#00c564">${portlet_title}</h1> 


but it always show portlet title... but i want to show custom portlet title defined on look and feel

thanks
thumbnail
Samuel Kong, modified 6 Years ago.

RE: Custom title on Look and Feel Configuration was not saved

Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
I can't reproduce the problem in 7.0 GA3.

Regarding the code, you can't change the portlet title using an ADT. You'll need to use a theme.