Double Step Menu with show_menu2

Bug

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]

Bug

I have to get those files together, I will try to do that tomorrow

Argos

That would be ideal. Could you give us info about how to do that?  :wink:
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Bug

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

Xagone

it gives something like "[keywords=UNKNOWED]"
Xagone Inc. (formerly VotreEspace)
[url="http://xagone.com/"]http://xagone.com/[/url]

DarkViper

there nothing has been changed as i know.
but i'll test it in any case and give response.
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

Xagone

Xagone Inc. (formerly VotreEspace)
[url="http://xagone.com/"]http://xagone.com/[/url]

DarkViper

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
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

Stefek

I agree..
If this functionality is gone, it's a pity.

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

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Argos

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...
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Xagone

seams to have been removed from version 4.9.5... since it was working in 4.7!
Xagone Inc. (formerly VotreEspace)
[url="http://xagone.com/"]http://xagone.com/[/url]

Xagone

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 :
show_menu2(0, SM2_ROOT+1, SM2_START,SM2_TRIM,'[li][a][keywords]</a>');
Xagone Inc. (formerly VotreEspace)
[url="http://xagone.com/"]http://xagone.com/[/url]

Xagone

since the keywords is not something usefull anymore, it's would be great if sm2 could read thems!
Xagone Inc. (formerly VotreEspace)
[url="http://xagone.com/"]http://xagone.com/[/url]

Argos

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...
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

PurpleEdge


Xagone

Xagone Inc. (formerly VotreEspace)
[url="http://xagone.com/"]http://xagone.com/[/url]