jDiction Forum

English => Install & Configure jDiction => Topic started by: terrorpixel on November 28, 2012, 08:52:14 am

Title: Help with flags
Post by: terrorpixel on November 28, 2012, 08:52:14 am
Hi. Can anyone tell me how i can set flags instead of text? If i set it on the module it doesn't work.
Title: Re: Help with flags
Post by: Harald Leithner on November 28, 2012, 08:59:03 am
did you have your installation in a subdir? because there is a css problem when you use subdirs.
Title: Re: Help with flags
Post by: terrorpixel on November 28, 2012, 09:10:27 am
Ehm jep. If its a css problem, than i can fix it i think. Can you tell me which css file?
Title: Re: Help with flags
Post by: terrorpixel on November 28, 2012, 09:12:38 am
Find and fixed it - in (subdir)/modules/mod_jdlanguage/tmpl/default.php
 Line 30

style="background-image: url(<?php echo JRoute::_('/subdir/media/com_jdiction/images/flags/'.$language->image.'.png'); ?>);"
Title: Re: Help with flags
Post by: Harald Leithner on November 28, 2012, 09:22:57 am
yes you could just remove the first slash