WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Kolb on February 18, 2010, 06:32:49 PM

Title: Menu disappears
Post by: Kolb on February 18, 2010, 06:32:49 PM
Hello,

I have this website on which I somehow managed to work with different languages.
One strange thing I noticed, is when selecting the English language on the top right of every page, you will be linked to the specific language. Now the strange thing happens, the menu show up ok. But when you click on one the links, the entire menu disappears.

http://www.vamosalapanne.be/pages/en/home.php

Say what?
Title: Issues bothering me
Post by: Kolb on February 19, 2010, 10:55:20 AM
Hello,

I have set up a multilanguage site on www.vamosalapanne.b e

One thing you will notice is that it redirects to the English page at /page/en/home.php
I know that you can alter this in settings, Homepage redirection and choose disabled. But this is somehow not working.
Second issue is that I don't the English page show up first, I want the Dutch (nederlands) language to be the first.
My page structure is the following:

Code: [Select]
NL
- page 1
- page 2
FR
- page 1
- page 2
DE
- page 1
- page 2
EN
- page 1
- page 2

As you can see, the Dutch language is the first language in my page tree. Why is wb not taking it as the default page to display?

Some people may have noticed when visiting the website that the menu on the English page appears just fine, but when you click a link, the entire menu disappears, very strange. I al ready have a thread running concerning this topic here: http://www.vamosalapanne.be/pages/en/home.php

Thank you very much in advance for any help...
Title: Re: Issues bothering me
Post by: kweitzel on February 19, 2010, 11:34:23 AM
1) When I call up the page, the NL Language is the first one shown.

2) It will be the menu call I bet. Please post it for review

cheers

Klaus

PS: Please don't post the same issue twice ... I merged them into one Topic
Title: Re: Menu disappears
Post by: Waldschwein on February 19, 2010, 11:37:57 AM
Hello!

Yes, http://www.vamosalapanne.be/ redirects me to NL.

An option is to use an intro.php and code there some automatic redirect to the regarding language, like it's on www.websitebaker2.o rg. (I hope this redirects to your default browser/OS language for you?)

Yours Michael

Title: Re: Menu disappears
Post by: Kolb on February 19, 2010, 12:05:15 PM
Ok, perfect! NL is showing up as the first page, great.

@Waldschwein, the intro page is a good idea, will keep this in mind for future reference!

@Kweitzel

This is a snippet in my template
 
Code: [Select]
<div id="navigation">
        <ul id="navlist">
         <?php show_menu(11); ?>
      </div>
    </div>

It works in all other languages, that's why I find this very strange. For example on http://www.vamosalapanne.be/pages/en/price.php the menu is gone, but is still in the source.

Any idea on the Homepage redirection issue?

Thanks for the help so far!
Title: Re: Menu disappears
Post by: kweitzel on February 19, 2010, 12:12:49 PM
Did you read these 2 Articles?

http://www.websitebaker2.org/nl/hulp/designersgids/meervoudige-menus.php?lang=NL
http://www.websitebaker2.org/nl/hulp/designersgids/meertalige-websites.php

(I guess you are reading NL ...)

cheers

Klaus
Title: Re: Menu disappears
Post by: kweitzel on February 19, 2010, 12:18:33 PM
Additionally ... it might be that it has to with the fact, that you do not give the EN pages a language other than the default. Please try to explicitly give the EN pages the EN language in the page settings.

There is anyway some issue with your EN pages ... do you use different templates or anything like that?

cheers

Klaus
Title: Re: Menu disappears
Post by: Kolb on February 20, 2010, 11:36:50 AM
Hello everybody,

Yes I have read those pages, but had some difficulties using 2 menu's. So that's why I am using an alternative option for choosing languages.

I used two templates, one for the homepage (3 col) and another for the rest (2 col). Now I've switched the entire site structure to the template with 2 columns. And yes, it seems a template issue. I now have no menu for the entire EN pages. The EN pages have EN set as page languages.

Any guess?

Edit: This was indeed a template issue. A CSS thing, it is now fixed!

Thank you very much for the assistance, appreciated!
I will look into the intro.php option as this might be interesting for a mulitlanguage website.