Bi-lingual page for an American Church in Berlin/Germany

Post links to sites running CMS in all its glory.
Post Reply
Caspar

Bi-lingual page for an American Church in Berlin/Germany

Post by Caspar »

http://pffchurch.net/index.php

The pages are under construction and not filled with content yet. Still, they might be an example for bi-/multilingual content in CMSMS 1.x using CSS and modifications in the page tree/news categories.
nonty
Forum Members
Forum Members
Posts: 20
Joined: Fri Aug 25, 2006 9:21 am
Location: Denmark

Re: Bi-lingual page for an American Church in Berlin/Germany

Post by nonty »

Hi "cas",

This is very much like I have done it on my site. Note that I generate the flags using a special menu template.

The result is very google friendly. The only problem I have observed until now is that google don't allow you toi register the web site under two different domain names - but that is not a problem with cmsms...

/tonny
cmsms is just a necessary hoppy. Eclipse is my work.
Caspar

Re: Bi-lingual page for an American Church in Berlin/Germany

Post by Caspar »

nonty wrote: This is very much like I have done it on my site. Note that I generate the flags using a special menu template.
Hi Tonny,
that's smart actually. Just had a look at it and I must say I do feel inspired. :) Also the menu design with the transparent CSS-backgrounds... cool!
Thanks for your feedback!
Cas
nonty
Forum Members
Forum Members
Posts: 20
Joined: Fri Aug 25, 2006 9:21 am
Location: Denmark

Re: Bi-lingual page for an American Church in Berlin/Germany

Post by nonty »

Hi "cas",

By the way, here is the menu template I use:

Code: Select all

{* CSS classes used in this template:
#flagsmenu - The id for the <ul>
.menuactive - The class for each <li> that is active or is a parent (on any level) of a child that is active. *}
<div id="flagsmenu">
{if $count > 0}
<ul>

{foreach from=$nodelist item=node}
  {if $node->current == true}
    <li class="menuactive"><a class="menuactive" 
  {else}
     <li><a 
  {/if} href="{$node->url}"{if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>
<dfn>{$node->hierarchy}: </dfn><img src="uploads/images/{$node->menutext}" width="16" height="11" /></a></li>
{/foreach}

</ul>
{/if}
</div>
I organize my pages under a main page for each language. The alias of all pages are "something_language" - e.g. "news_da". As you might be able to see, I use the menu text of the main pages as the name of the flag to use for the section. This way I can easily add Sweedish or Norwegian at a later point.

/tonny
cmsms is just a necessary hoppy. Eclipse is my work.
Caspar

Re: Bi-lingual page for an American Church in Berlin/Germany

Post by Caspar »

Thanks a bunch, mate!
Post Reply

Return to “CMS Show Off”