1
marcan
Theme and MLPatch
  • 2004/1/31 13:18

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Hi ! I'm using the multilanguage patch form hsalazar and I would like to make the theme i'm using more multilingual. In order to do that, I need some info from you guys (I just started with php so... no too good...)

Ok, in the theme.html file, there is this line :
<tr><td class="slogan" colspan="2"><{$xoops_slogan}>td>tr>


I need to pass the $xoops_slogan to this :
$myts->makeTboxData4Show($xoops_url);

so it can put the text in the good language.

Now, I don't know where to put it, I don't know what are the links between the theme and XOOPS and php, etc...

Can anybody hekp please ?

Thanks !

2
philou
Re: Theme and MLPatch
  • 2004/1/31 19:50

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


Hello

Good idea... using the ML version is really easy.

you dont have to paste directly code in the file.html
You have just to give multilingual text in the preferencies
for example [en]your text[/en][fr]votre texte[/fr]
and you can extant this rule in many area of XOOPS (using the Textsanytizer)
You can see this here : http://www.xoops-themes.org

Login

Who's Online

251 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 251


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