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.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Double Step Menu with show_menu2
  • Print
Pages: [1]   Go Down

Author Topic: Double Step Menu with show_menu2  (Read 11198 times)

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Double Step Menu with show_menu2
« on: May 09, 2011, 08:16:00 PM »
Here a little demo how I do double step css menu with show_menu2

http://votreespace.net/wbdemo/pages/doublemenu.php
Logged
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Re: Double Step Menu with show_menu2
« Reply #1 on: May 10, 2011, 10:40:51 AM »
Thank you, that is very nice!
Logged

Argos

  • Guest
Re: Double Step Menu with show_menu2
« Reply #2 on: May 10, 2011, 11:39:28 PM »
Nice! The downside is that you cannot use the page titles on pages anymore... For the menu the page titles must be short and to the point, whereas page titles used on actual pages are much longer and often more like sentences. So you must use <h1>This is the page title for this page</h1> within the WYSIWYG editor. That's not a big problem, but the page titles that are set in the page settings also function as page titles for search engines, and short page titles are not as effective as longer ones.

To sum up: your solution is clever and works nicely, but it can have a negative impact on usability and SEO.

I wish for an extra field besides Menu Title, and Page Title...
Logged

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Re: Double Step Menu with show_menu2
« Reply #3 on: May 10, 2011, 11:43:01 PM »
since the keywords is not something usefull anymore, it's would be great if sm2 could read thems!
Logged
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Re: Double Step Menu with show_menu2
« Reply #4 on: May 10, 2011, 11:48:17 PM »
what am I saying, sm2 can!

[keywords]

you can make your [keywords] something like "Pride<br /><span>I am good</span>" so the menu would be from the keywords section since no search engine use them anymore....

and use sm2 like this :
Code: [Select]
show_menu2(0, SM2_ROOT+1, SM2_START,SM2_TRIM,'[li][a][keywords]</a>');
Logged
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Re: Double Step Menu with show_menu2
« Reply #5 on: May 10, 2011, 11:57:38 PM »
seams to have been removed from version 4.9.5... since it was working in 4.7!
Logged
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Argos

  • Guest
Re: Double Step Menu with show_menu2
« Reply #6 on: May 11, 2011, 12:06:16 AM »
Quote from: VotreEspace on May 10, 2011, 11:57:38 PM
seams to have been removed from version 4.9.5... since it was working in 4.7!

Really? That's a shame, cause it was a clever way of using the obsolete keywords field...
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Double Step Menu with show_menu2
« Reply #7 on: May 11, 2011, 12:07:49 AM »
I agree..
If this functionality is gone, it's a pity.

I hope it's not (didn't look).

Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Double Step Menu with show_menu2
« Reply #8 on: May 11, 2011, 05:42:22 AM »
Quote from: VotreEspace on May 10, 2011, 11:57:38 PM
seams to have been removed from version 4.9.5... since it was working in 4.7!

sometimes it helps to read the documentation..  :wink:

README.en.txt Line 333
this this Flag never has been changed since SM2 Version 4.5 from 2008-04-14
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Re: Double Step Menu with show_menu2
« Reply #9 on: May 11, 2011, 02:30:50 PM »
but it does not work
Logged
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Double Step Menu with show_menu2
« Reply #10 on: May 11, 2011, 02:38:33 PM »
there nothing has been changed as i know.
but i'll test it in any case and give response.
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline Xagone

  • Posts: 482
  • Gender: Male
  • Developper
    • Xagone Inc
Re: Double Step Menu with show_menu2
« Reply #11 on: May 11, 2011, 02:42:50 PM »
it gives something like "[keywords=UNKNOWED]"
Logged
Xagone Inc. (formerly VotreEspace)
http://xagone.com/

Offline Bug

  • Posts: 237
Re: Double Step Menu with show_menu2
« Reply #12 on: May 12, 2011, 08:11:43 PM »
I needed it once and made it slightly different

The change made to the core was that i made an extra field in the page settings. Under page title, menu title i made a field called 'submenu title'.

This way i can use [SUBMENU_TITLE]  just as you can use the regular menu title
Logged

Argos

  • Guest
Re: Double Step Menu with show_menu2
« Reply #13 on: May 12, 2011, 08:33:44 PM »
That would be ideal. Could you give us info about how to do that?  :wink:
Logged

Offline Bug

  • Posts: 237
Re: Double Step Menu with show_menu2
« Reply #14 on: May 12, 2011, 10:12:28 PM »
I have to get those files together, I will try to do that tomorrow
Logged

Offline Bug

  • Posts: 237
Re: Double Step Menu with show_menu2
« Reply #15 on: May 17, 2011, 11:51:15 AM »
changed the admin/pages/settings.php
> added a field called menu title 2, menusubtitel or whatever ...
> added a field to the mysql table called menu_title2

made some additions to showmenu module so that it understands [menu_title2]

it was quite some time ago and havent got the time to fully explore all i have done but this should be it

I suggest you only go and edit core-stuff if you either know what you are doing or make a backup first and keep track of what you are messing up :)




[gelöscht durch Administrator]
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Double Step Menu with show_menu2
 

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