WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Create footer menu?
  • Print
Pages: [1]   Go Down

Author Topic: Create footer menu?  (Read 5097 times)

Offline Boudi

  • Posts: 1190
  • Gender: Male
  • //o_-\\
    • Yze Webdesign
Create footer menu?
« on: April 08, 2008, 02:48:49 PM »
Hi,

I'm working on a project which is a multilanguage site which has a horizontal drop down menu. I would like to have a horizontal footer menu too for each language.

1st I tried the usual way to implement 2 menu structures into the template but this does not work well (I think because of the multilanguage)?

2nd I thought the easiest way would be to show the hidden pages from each language container in the footer with the show_menu2. But this does not work for me right now :(

Is there a 3rd way what could make this possible?
« Last Edit: April 09, 2008, 09:43:06 AM by knert »
Logged
...:: Bake the Unbakable ::...

Offline GRID8400

  • Posts: 119
  • Gender: Male
  • It's all about design!
    • KEY2DESIGN
Re: Create footer menu?
« Reply #1 on: April 14, 2008, 11:33:09 AM »
3rd: harcode / hack frontend.functions. php the footer part something like this:

<a href="';
if(LANGUAGE == "NL"){ echo "site_nl/whatever.php"; }else{ /* English */  echo "site_uk/whatever.php"; }
echo '" target="_top">whatever</a>   
<a href="';
        echo str_replace($vars, $values, WEBSITE_FOOTER);
       

downpart: update WB and it will be lost...
insert it into CMS backend footer will not parse the code.. so you have to hack frontend.fucntions. php
Logged
Our WB websites: KEY2DESIGN & KEY2PICTURE

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: Create footer menu?
« Reply #2 on: April 14, 2008, 12:09:23 PM »
Hello,

there is no need for changing any core files to get a footer menu. This is realizable with a simple call of show_menu2 (or show_menu) and the needed css styles.

As knert didn't get any menu working (if you read his other threads) there seems to be a server misskonfiguration issue or his pages tree structure in combination with the menu calls and the css seems to be the problem.

Matthias
Logged

Offline GRID8400

  • Posts: 119
  • Gender: Male
  • It's all about design!
    • KEY2DESIGN
Re: Create footer menu?
« Reply #3 on: April 14, 2008, 01:41:17 PM »
@ruebenwurzel: true, but i was lazy, and for the site I used it on I had multiple skin's and didn't wanted to update al the skins. anyways..
Logged
Our WB websites: KEY2DESIGN & KEY2PICTURE

Offline Boudi

  • Posts: 1190
  • Gender: Male
  • //o_-\\
    • Yze Webdesign
Re: Create footer menu?
« Reply #4 on: April 14, 2008, 02:33:32 PM »
@ Grid and Matthias,

thank you for your answers.

@ matthias: I'm working on a server with PHP V5.0.22 and Safe_Mode disabled. I don't think (but I could be wrong of course) that the serverconfiguration is the issue in my case. If it is than I would be very happy to be notified about what could cause my problem. But now I'm gliding off this topic.

I work on several projects at the same time. A few minutes ago I added on a single-language project a horizontal footer menu (SM2) and this works like a charm.

Thanks for your help anyway regarding the footer issue.
« Last Edit: April 14, 2008, 03:37:04 PM by knert »
Logged
...:: Bake the Unbakable ::...

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Create footer menu?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2