11
jani003
Re: xlanguage module question
  • 2006/1/10 21:03

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


the block is now activated again, if you want to have a look for youself, feel free to register and login.

Regards
Janne



12
jani003
Re: xlanguage module question
  • 2006/1/10 21:00

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


Instead of the flags, the space right under the block title seems to be blank, but if you move the cursor over it, you can see that it changes like it's clickable, and you can see in the browser that the link is tohttp://brollop.paananen.nu

Hope you understand what I mean.

//Janne



13
jani003
Re: xlanguage module question
  • 2006/1/10 17:40

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


Hi, I figured out that it's just the block that isn't working,

Auto selection of site language depending on settings in the browser works just great.

But I want the block to work, any suggestions??

//Janne



14
jani003
Re: xlanguage module question
  • 2006/1/9 14:25

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


I continue this thread with more problems

Hi

this looks exactly like the module i'm looking for, but I can't get it to work.

I have downloaded the module, installed it
updated my common.php as follows
// $xoopsConfig['root_path'] = XOOPS_ROOT_PATH."/";

include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php';
// #################### Include site-wide lang file ##################
if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) {
include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php";
} else {
include_once XOOPS_ROOT_PATH."/language/english/global.php";
}

I have created two base languages, english and swedish

and I have made the block visible
I also have added [sv]text[/sv][en]english text[/en] in some blocknames and modules names

But I don't get the flags to click on in the language block.

there is just a invisible link to the top of my homepage.
what am I missing?

Regards
Janne




TopTop
« 1 (2)



Login

Who's Online

172 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits