1
sadistiko
Custom smarty tag don't want to show up in multilanguages hack
  • 2006/11/9 22:15

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


It works on my local machine with windows and apache+mysql. It must be some directory or file atributes. I didn't find in read me any word about atributes and what directories must have 777 or something else.

When I want use my custom smarty tag for my header in 3 languages, nothing show up, in source code it looks like there isn't any code in place of smarty tag.
But when I put default lang_image smarty tag, flag show up.

I'm new to multilanguages so I'm not sure what is wrong.
In all texts from XOOPS modules/blocks, everything work perfect with and other languages. Please help.

I tried to ask on SmartFactory forum, but nobody answers for 5 days now
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

2
hervet
Re: Custom smarty tag don't want to show up in multilanguages hack
  • 2006/11/22 12:46

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Try this, modify the file called /xoops/include/multilanguage.php

and insert your smarty variables after this :
if (is_object($xoopsTpl)) {


like this for example :
$xoopsTpl->assign('menu_home',$myts->makeTboxData4Show("[fr]Accueil[/fr][en]Home[/en]"));

Login

Who's Online

161 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 161


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