Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to remove the language/flags in Brochure theme
Hi Everyone,
May I know who has idea on how to removing the Flags/Language sle in brocure theme? I need to remove these buttons because we don't need that.
Thanks,
Joe
May I know who has idea on how to removing the Flags/Language sle in brocure theme? I need to remove these buttons because we don't need that.
Thanks,
Joe
Any idea??? badly needed...
Thanks.
Thanks.
joe a riel:
Hi Everyone,
May I know who has idea on how to removing the Flags/Language sle in brocure theme? I need to remove these buttons because we don't need that.
Thanks,
Joe
Hi,
do you want to remove the images only, or do you want to remove the unneccessary languages?
You can set the allowed languages in portal-ext.properties:
kind regards
Tobias
do you want to remove the images only, or do you want to remove the unneccessary languages?
You can set the allowed languages in portal-ext.properties:
locales=en_USkind regards
Tobias
Hi Tobias,
Thanks for your reply. I just need to remove the images.
I'm using CentOS and I tried to find the portal-ext.properties but no luck. Do you know where it resides?
Thanks,
Joe
Thanks for your reply. I just need to remove the images.
I'm using CentOS and I tried to find the portal-ext.properties but no luck. Do you know where it resides?
Thanks,
Joe
Hi,
the portal-ext.properties file is used to override settings which are made (by default) in portal-impl.jar/portal.properties. If you want to override settings, you need to create that (text)-file on your own. You can put it in ROOT/WEB-INF/classes.
If you want to remove the images... search them and delete them.
kind regards
Tobias
the portal-ext.properties file is used to override settings which are made (by default) in portal-impl.jar/portal.properties. If you want to override settings, you need to create that (text)-file on your own. You can put it in ROOT/WEB-INF/classes.
If you want to remove the images... search them and delete them.
kind regards
Tobias
Hi there! I'm using Liferay 5.2 and I wanna know if there is some other way than to remove all the flag images. Anything more professional and smart?
Thanks!
Thanks!
hi
actually you should do both to remove the flags first you need to go to
"liferayhome\tomcat-6.0.18\webapps\ROOT\WEB-INF\classes\portal-ext.properties"
if you don t have it yet create a regular document text and name it portal-ext.properties
and put this text on it
1locales=en_US(change the en_US according to what language you want to keep on your portal)
then go to
"liferayhome\tomcat-6.0.18\webapps\liferay-jedi-theme\images\language"
and delete all the images from it
and you need to restart your server
i hope its helpeful
actually you should do both to remove the flags first you need to go to
"liferayhome\tomcat-6.0.18\webapps\ROOT\WEB-INF\classes\portal-ext.properties"
if you don t have it yet create a regular document text and name it portal-ext.properties
and put this text on it
1locales=en_US(change the en_US according to what language you want to keep on your portal)
then go to
"liferayhome\tomcat-6.0.18\webapps\liferay-jedi-theme\images\language"
and delete all the images from it
and you need to restart your server
i hope its helpeful
If you just delete images, browsers will start giving you a headache, a proper way is to modify a theme:
- inside war file, find file templates/portal-normal.vm
- substitute the following piece of code:
with our own code, make sure that your footer text is properly styled to be visible on dark background:
- save portal-normal.vm back into war file
- deploy updated theme to your portal
- no portal restart will be required
- inside war file, find file templates/portal-normal.vm
- substitute the following piece of code:
<div id="footer">
<div class="language">$theme.language()</div>
</div>
with our own code, make sure that your footer text is properly styled to be visible on dark background:
<div id="footer">
this is my footer
</div>
- save portal-normal.vm back into war file
- deploy updated theme to your portal
- no portal restart will be required