jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Help with flags  (Read 12511 times)

terrorpixel

  • Newbie
  • *
  • Posts: 15
    • View Profile
Help with flags
« 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.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Help with flags
« Reply #1 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

terrorpixel

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Help with flags
« Reply #2 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?
Logged

terrorpixel

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Help with flags
« Reply #3 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'); ?>);"
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Help with flags
« Reply #4 on: November 28, 2012, 09:22:57 am »

yes you could just remove the first slash
Logged
Joomla! 5.0 Release Manager
Vote at JED