English > Install & Configure jDiction

Help with flags

(1/1)

terrorpixel:
Hi. Can anyone tell me how i can set flags instead of text? If i set it on the module it doesn't work.

Harald Leithner:
did you have your installation in a subdir? because there is a css problem when you use subdirs.

terrorpixel:
Ehm jep. If its a css problem, than i can fix it i think. Can you tell me which css file?

terrorpixel:
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'); ?>);"

Harald Leithner:
yes you could just remove the first slash

Navigation

[0] Message Index

Go to full version