Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 05:45:11 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155545
Posts in
21714
Topics by
7736
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
Templates, Menus & Design
(Moderator:
Argos
)
Double Step Menu with show_menu2
Pages: [
1
]
Go Down
Author
Topic: Double Step Menu with show_menu2 (Read 1446 times)
Xagone
AddOn Development
Offline
Posts: 478
Double Step Menu with show_menu2
«
on:
May 09, 2011, 07: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://www.xagone.com/
PurpleEdge
Offline
Posts: 232
Re: Double Step Menu with show_menu2
«
Reply #1 on:
May 10, 2011, 09:40:51 AM »
Thank you, that is very nice!
Logged
Argos
Moderator
Offline
Posts: 2161
Re: Double Step Menu with show_menu2
«
Reply #2 on:
May 10, 2011, 10: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
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Xagone
AddOn Development
Offline
Posts: 478
Re: Double Step Menu with show_menu2
«
Reply #3 on:
May 10, 2011, 10: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://www.xagone.com/
Xagone
AddOn Development
Offline
Posts: 478
Re: Double Step Menu with show_menu2
«
Reply #4 on:
May 10, 2011, 10: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:
show_menu2(0, SM2_ROOT+1, SM2_START,SM2_TRIM,'[li][a][keywords]</a>');
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Xagone
AddOn Development
Offline
Posts: 478
Re: Double Step Menu with show_menu2
«
Reply #5 on:
May 10, 2011, 10: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://www.xagone.com/
Argos
Moderator
Offline
Posts: 2161
Re: Double Step Menu with show_menu2
«
Reply #6 on:
May 10, 2011, 11:06:16 PM »
Quote from: VotreEspace on May 10, 2011, 10: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
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: Double Step Menu with show_menu2
«
Reply #7 on:
May 10, 2011, 11:07:49 PM »
I agree..
If this functionality is gone, it's a pity.
I hope it's not (didn't look).
Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
DarkViper
Development Team
Offline
Posts: 1253
Re: Double Step Menu with show_menu2
«
Reply #8 on:
May 11, 2011, 04:42:22 AM »
Quote from: VotreEspace on May 10, 2011, 10: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..
README.en.txt Line 333
this this Flag never has been changed since SM2 Version 4.5 from 2008-04-14
Logged
Anleitungen lesen und selber nachdenken ist anstrengend... Da lass ich doch lieber andere für mich denken...
In
1984
: Nineteen Eighty-Four is a unrealistic utopia!!
In
2012
: Nineteen Eighty-Four is a little piece only of our reality!!
Xagone
AddOn Development
Offline
Posts: 478
Re: Double Step Menu with show_menu2
«
Reply #9 on:
May 11, 2011, 01:30:50 PM »
but it does not work
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
DarkViper
Development Team
Offline
Posts: 1253
Re: Double Step Menu with show_menu2
«
Reply #10 on:
May 11, 2011, 01:38:33 PM »
there nothing has been changed as i know.
but i'll test it in any case and give response.
Logged
Anleitungen lesen und selber nachdenken ist anstrengend... Da lass ich doch lieber andere für mich denken...
In
1984
: Nineteen Eighty-Four is a unrealistic utopia!!
In
2012
: Nineteen Eighty-Four is a little piece only of our reality!!
Xagone
AddOn Development
Offline
Posts: 478
Re: Double Step Menu with show_menu2
«
Reply #11 on:
May 11, 2011, 01:42:50 PM »
it gives something like "[keywords=UNKNOWED]"
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Bug
Offline
Posts: 188
Re: Double Step Menu with show_menu2
«
Reply #12 on:
May 12, 2011, 07: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
Moderator
Offline
Posts: 2161
Re: Double Step Menu with show_menu2
«
Reply #13 on:
May 12, 2011, 07:33:44 PM »
That would be ideal. Could you give us info about how to do that?
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Bug
Offline
Posts: 188
Re: Double Step Menu with show_menu2
«
Reply #14 on:
May 12, 2011, 09:12:28 PM »
I have to get those files together, I will try to do that tomorrow
Logged
Bug
Offline
Posts: 188
Re: Double Step Menu with show_menu2
«
Reply #15 on:
May 17, 2011, 10: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
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...