1
vadimv82
Re: How to make header menu items to be translatable with Xlanguage.
  • 2010/6/14 9:26

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


Sorry, i am too dumb. Used [en] code, instead of defined [eng].

Delete topic.



2
vadimv82
How to make header menu items to be translatable with Xlanguage.
  • 2010/6/14 8:34

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


Hello I'm trying to edit main items at the header menu (home, links, forum, contact, etc). In theme.html i just have usual texts, but not constants. But i want those menu items to be translatable because i am using xlanguage and want them to be switched depending on what language is on at the moment.
Question is, how do i define constants for those menu items, and where should deifne or add them to work for 3 different languages in xlanguage?



3
vadimv82
Re: Template preview problem
  • 2010/6/14 8:21

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


Yes, it works! Thnx a lot!



4
vadimv82
Re: Template preview problem
  • 2010/6/9 8:50

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


I made fresh install of Xampp.
PHP: 5.3.1

Fresh install of Xoops 2.4.4
Install went well, not a single warning or error.

Template preview is not working.

Anybody wanna check?



5
vadimv82
Re: Template preview problem
  • 2010/6/9 8:19

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


I use Xoops 2.4.4

And yes i made debug mode to be ON.
But there is no any errors.

And it is not just a single template not working, i can't preview any of templates. Means there is something wrong with template preview engine or canvas.



6
vadimv82
Template preview problem
  • 2010/6/9 7:47

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


When i try to preview template in admin console it is blank.
Any way to fix it?



7
vadimv82
Template preview problem
  • 2010/6/9 7:43

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


When i try to preview template of a module it is blank.
Any way to preview template?



8
vadimv82
Re: xlanguage in xoops 2.4
  • 2010/6/8 8:02

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


I have just made fresh install of Xampp 1.7.3.
With PHP: 5.3.1

Fresh install of Xoops 2.4.4. And installed xlanguage.

1) I just installed Xlanguages 3.11 as module
2) Made update for module in admin
3) added 2 base languages
4) Made block to be visible

And language switching is not working!!!


Got this error message:
Undefined variable: xoopsConfig in file /modules/xlanguage/api.php line 62

Fixed by adding global $xoopsConfig; to api.php

Works now.



9
vadimv82
Re: xlanguage in xoops 2.4
  • 2010/6/5 11:32

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


Very interesting.
Now language block is appeared. But language switching is not working. Interesting is that [lang_code] tags seems to be working, but only if i change default language in Admin console.
Doesn't work if i switch languages in language selection block.

Any ideas?



10
vadimv82
Re: xlanguage in xoops 2.4
  • 2010/6/5 10:50

  • vadimv82

  • Just popping in

  • Posts: 16

  • Since: 2008/9/9 9


Thnx Ghia, that was the problem. I only had english language in
XOOPS/language/english. Therefore i couldn't add new base language in module.




TopTop
(1) 2 »



Login

Who's Online

217 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

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

Latest GitHub Commits