T3NET Premium Support Forum
05. September 2010, 14:14:55 *
Welcome, Guest. Please login or register.

Login with email, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Templates for Templavoila 4.07 multi-language support problem  (Read 1265 times)
Christian Tardif
Just registered
*
Offline Offline

Posts: 6


« on: 09. April 2010, 21:44:59 »

Hi,

I successfully installed and configured Templates for Templavoila 4.07 on a Linux system. I'm using two languages: french (as default) and english. I followed instructions to set the default language and add another one. It seems to be OK, but in the default (french) language, there are strange things that happens:

1) I don't see the magnifying glass (for fontsize selection)
2) The date and time appears as: 1270845646 (for example, at the time of writing)
3) I don't see the searchbox
4) I don't have the copyright notice

As soon as I switch to english, everything appears.

How do I debug that?  This is all what I need to be able to replace the old Typo3 installation for my site.

Regards,

Christian Tardif
Logged
Varit Henry Kobutra
Junior member
**
Offline Offline

Gender: Male
Posts: 24


^0^"


WWW
« Reply #1 on: 13. April 2010, 05:30:42 »

Hi,

I Think you question was answered on the Following topic by one of our Developers. Take a look on the following link:

http://forum.t3net.net/index.php/topic,269.0.html


If you can't access the link look at the copy below:

Quote
Hello

I think maybe you config something wrong.

First Steps:
Change the default language

Find and edit
fileadmin/styles/[style]/TemplateRessources/pageTSconfig.txt

mod.SHARED {
  defaultLanguageFlag = uk.gif
  defaultLanguageLabel = english
}

Change the two lines to set the desired default language.

Find and edit (or use constant editor if you need help with the values)
fileadmin/styles/[style]/TemplateRessources/constants.txt

languageLocaleStandardLang = english
languageIsoCodeStandardLang = en

Add more languages

   1. Select the List module
   2. Select the top level page (UID 0)
   3. Click the icon and select New
   4. Within the wizard select Website Language
   5. Repeat steps 3 and 4 to add as much langauges as you need
   6. Use constant editor, category plugin-tx_dbttv-language to set the correct values for all your languages.

If you do everything correctly Searchbox, Copyright and date will show correctly like this.

 

About Font-size selector you need to switch on it first.

- Login to backend and click on "Template" module at the left side.
- Click "Rootpage" at the middle side
- Choose "Constant Editor" at the select box on right side.
- Choose "PLUGIN-TX_DBTTV-TEASER"
- Search for "Switch off fontsize selector?" and select "No" and save.

 
Logged

Varit Henry Kobutra
Senior Web Programmer
t3net Bangkok
T3NET Premium Support Forum
« Reply #1 on: 13. April 2010, 05:30:42 »

 Logged
Christian Tardif
Just registered
*
Offline Offline

Posts: 6


« Reply #2 on: 13. April 2010, 14:20:36 »

This is the documentation I followed at first.

I installed a new site from the beginning (just to make sure) and followed the instructions. Now everything's OK. I then checked with the faulty site to make sure everything was the same as the newly installed site, and it is. But date, copyright and so on still look...  well, they don't look at all!  :-)

I'll copy my structure to the new site. That will fix everything up! This will definitely be easier (and maybe faster) than trying to find out the little problem with the actual site.

Thanks a lot for your help!

Christian Tardif
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!