Sitename

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
mel
Forum Members
Forum Members
Posts: 147
Joined: Mon Dec 11, 2006 11:53 pm

Sitename

Post by mel »

Hi,
Is it possible to have two {sitename}? I mean one for each of my languages.
If not, how we can manage to have a language specific sitename in my metadata description? I will have to use two different templates and writing a different name in header description?
Thanks!
Mel
Version 1.6-MLE
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Sitename

Post by christiaans »

A very easy way would be to create a new global content block, and add the site name in each language in that content block.

Then use that block on your template (only a single template is needed that way).

Good luck :)
alby

Re: Sitename

Post by alby »

mel wrote: Is it possible to have two {sitename}? I mean one for each of my languages.
Other way

Alby
mel
Forum Members
Forum Members
Posts: 147
Joined: Mon Dec 11, 2006 11:53 pm

Re: Sitename

Post by mel »

Other way

Alby
Really cooool! I read this topic before, but I didn't really understand how/why it could be use, so I just skip over it...

But with this method, I will need two templates? One with {sitename} and one with {$mle_translation.sitename}?

Thanks!
Mel
Last edited by mel on Tue Jul 15, 2008 2:46 am, edited 1 time in total.
Version 1.6-MLE
alby

Re: Sitename

Post by alby »

mel wrote:
Other way

Alby
Really cooool! I read this topic before, but I didn't really understand how/why it could be use, so I just skip over it...

But with this method, I will need two templates? One with {sitename} and one with {$mle_translation.sitename}?
sitename is relative to variable setting in Global Settings and it's unique for ALL languages (unique value).
$mle_translation.sitename is a language variable, if you put in a ONE template you have the value corresponding to the language displayed

Alby
Locked

Return to “[locked] CMSMS MLE fork”