1
andyz50
Re: xlanguage 2.0 - Menu not translated
  • 2005/7/8 23:43

  • andyz50

  • Just popping in

  • Posts: 3

  • Since: 2005/7/1 6


Well, I got the same problem, but using the tags in module name doesn't seem to help.

I noticed that after I typed module name [en]ModName[/en][zh]ChineseModName[/zh] and proceed to the confirm page, the module name is already decoded based on current language setting. If I enter the tagged module names into database table directly, it works. But once you go to Amdin-> System->Module and save the name even without chage it, the name is decoded again.

A few details
XOOPS is a 'official' Chinese version 2.09
xLanguage ver 2

I have another website with'generic' XOOPS v 2.0, plus a language hack someone posted here a year ago. The same approach is used for module name and it works fine for Chinese and English.

I don't know how much is the difference between Chinese version and the 'generic' version, or if it makes the difference at all, in terms how module names are saved.


Can someone help?



2
andyz50
Re: Question about template in modules
  • 2005/7/5 23:17

  • andyz50

  • Just popping in

  • Posts: 3

  • Since: 2005/7/1 6


Mithrandir,

Many thanks for the hint. So if I understand it correctly, this switch does not only apply to the templates under themes/yourtheme/ folder, it also applies to templates under individual modules folder.

Actually I thought about that once, but I quickly mismissed the idea. I guess I should try everything, as long as it doesn't kill me:)

Again, thanks a lot.



3
andyz50
Question about template in modules
  • 2005/7/5 19:19

  • andyz50

  • Just popping in

  • Posts: 3

  • Since: 2005/7/1 6


Hi,

I have a question for the fellow XOOPS module developers:

I've modified/developed a few modules in last two years, but I still have trouble managing the tempaltes aassociated the modules. What I uaually do (when I'm in good mood) is to write the templtes in html, uplaod to the web server, install or update module and try to run the page. What frustrates me is that whenI just need some minor changes in the layout or some Smarty variables, or even to correct a small typo, I'll have to do the whol thing again.

If I just modify the html file on the server, without updating the module, it would work. Apparently, when rendering the pages, XOOPS reads from the databse instead of html files. Sometime I get lazy, and edit the template in the databaase directly (via Admin's tempalte management page), I can get instant response on the pages being displayed, but there is a risk: I would someday accidently overwrite the template in db with the ones in html files, unless I download it immediately (XOOPS amdin provides this functionality)




TopTop



Login

Who's Online

211 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

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

Latest GitHub Commits