1
flymirco
Main menu block and xlanguage problem
  • 2009/9/24 8:10

  • flymirco

  • Just popping in

  • Posts: 42

  • Since: 2006/9/20


Hi all,

I am using XOOPS 2.3.3 with a custom modules and with xlanguage 3.01.
There is a strange behaviour of the system when I set visible or not the Main menu block in my custom module.
If main menu is visible everything works fine, while if is not visible all the languages constant are not translated in the target language.
There are some components or objects declaration included in the main menu that I have to set up to solve this problem?

thanks

flymirco

2
ghia
Re: Main menu block and xlanguage problem
  • 2009/9/24 8:33

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Is it possible that you have some partial output or unbalanced language tags?

3
flymirco
Re: Main menu block and xlanguage problem
  • 2009/9/24 9:06

  • flymirco

  • Just popping in

  • Posts: 42

  • Since: 2006/9/20


Hi ghia,

thank you for your reply.
I don't have unbalanced language tags. All my contest is provided by custom code with languages constant defined in languages//modinfo.php.

For the partial output I don't think so because when main menu is visible everything is ok. I don't know if there is a conflict between main menu and the layout of the theme. I'll check for this.

flymirco

4
ghia
Re: Main menu block and xlanguage problem
  • 2009/9/24 9:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
All my contest is provided by custom code with languages constant defined in languages//modinfo.php.

Aha, and your custom module does not do an include (load) of this file? (It should do this include on condition some definition out the file does not yet exists.)

5
flymirco
Re: Main menu block and xlanguage problem
  • 2009/9/24 10:25

  • flymirco

  • Just popping in

  • Posts: 42

  • Since: 2006/9/20


With xlanguage you don't need to do that because, normally, it is normally included by the module itself.
The strange is that the inclusion depends on main menu block.

I will try to force to include the language file in my custom module.

Login

Who's Online

245 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits