1
stefan88
How to use language variables in themes
  • 2004/9/20 8:39

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
Is it possible to use language variables in themes and if yes, how?
For example can I use _SEARCH text from global.php in my theme.html file?
Code is welcome

2
Mithrandir
Re: How to use language variables in themes

<{$smarty.const._SEARCH}>

3
DonXoop
Re: How to use language variables in themes


I only recently discovered using these variables myself. Trying to build multi language sites forced me to find ways to present custom menus and other theme generated content properly.

Now I wish I could enable Smarty Debug for just my login so I could take my time browsing the data. But one quick popup debug screen gave me some clues.

4
Chado
Re: How to use language variables in themes
  • 2004/9/20 12:58

  • Chado

  • Not too shy to talk

  • Posts: 113

  • Since: 2003/6/6 7


Quote:

DonXoop wrote:
Now I wish I could enable Smarty Debug for just my login so I could take my time browsing the data.


I have really been enjoying the XSAS server for just that sort of thing. I am able to have a complete clone of my site offline and tinker and goof things up to my hearts content

5
stefan88
Re: How to use language variables in themes
  • 2004/9/20 17:06

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Wow, it works Thank you!

6
DonXoop
Re: How to use language variables in themes

Quote:
I have really been enjoying the XSAS server for just that sort of thing. I am able to have a complete clone of my site offline and tinker and goof things up to my hearts content

I do have test sites but I use Linux which achieves the same thing as XSAS without the Windows... (No gates, no windows)

. But sometimes I foget to use it when I need these questions answered. Duoh!
. I make large changes at the main site and need to duplicate it on the test site if I'm to find the right answer.
. I get lazy after setting up my screen layouts for the day.

A little more control over debug viewing rights would still be nice though. Sometimes you want some debug on the live site without scaring the users with it....

Login

Who's Online

400 user(s) are online (292 user(s) are browsing Support Forums)


Members: 0


Guests: 400


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