hidden pages and show_menu2

Mux

Quote from: vyni on November 10, 2008, 12:20:57 PM
Did You try to set the hidden page to private?
No, because the hidden pages are public pages which I don't want to be linked in the navigation. That's all.

QuoteIn  the mentioned navigation I want only to be shown the second level items. All worked fine with all pages before I started to include the hidden ones... as I just mentioned above: when I call a hidden page all navigation items completely disappear.
Ok, I'll translate it to german: der Aufruf sm_root+1 bedeutet ja, dass unabhängig vom aktuellen "Aufenthaltsort" immer das zweite Menulevel angezeigt wird. Und mein linkes Menu soll genau dieses zweite Level anzeigen, immer und überall, egal ob ich auf einer versteckten Seite, auf einer aus dem ersten, zweiten oder dritten Level bin.   Das eine hat ja mit dem anderen auch überhaupt nichts zu tun. Die versteckten Seiten sollen halt nur nicht im Menu auftauchen, weil sie nicht so wichtig und weil sie auf anderen Seiten verlinkt sind.
Wie gesagt, außer mit den versteckten Seiten ist auch alles so wie es sein soll, aber dort wird überhaupt kein Menu mehr angezeigt.



Edit: I was playing around with sm2 - test and take (modify) this call
<?php show_menu2(0SM2_ROOT+1SM2_ALLSM2_ALLfalse"\n</li>"falsefalsefalse'<ul id="header_menu" class="menu">'); ?>
this one show´s the menu even if You call a page under a hidden one - even if the called page is set to hidden
[/quote]
no this one does't work for me. It shows the menu on the hidden pages too, but with this call I get ALL menu items from all levels in my navigation.

Mux

erpe0812

Hy Vyni

QuoteYou call things like that a crystal-ball? That´s one!

try your link without beeing logged in  :-D

rgds

erpe

vyni

#6
Hi everybody,

You call things like that a crystal-ball? That´s one!

@Mux
Did You try to set the hidden page to private?
QuoteIn  the mentioned navigation I want only to be shown the second level items. All worked fine with all pages before I started to include the hidden ones... as I just mentioned above: when I call a hidden page all navigation items completely disappear.

english is not my language - but if I read this and translate it to german.......
I say: it does what You want it to do.
You say - You want it to show only 2nd level - than You call from 3rd level - why You suppose it to show any further menu, if You are on 3rd level - if You limited it to show up only 2nd level  :?

confused me.

Edit: I was playing around with sm2 - test and take (modify) this call
<?php show_menu2(0SM2_ROOT+1SM2_ALLSM2_ALLfalse"\n</li>"falsefalsefalse'<ul id="header_menu" class="menu">'); ?>
this one show´s the menu even if You call a page under a hidden one - even if the called page is set to hidden

Mux

ok, I didn't think that the problem had got to do anything with the show_menu2-call...
here it is:
show_menu2(0, SM2_ROOT+1, SM2_START,SM2_TRIM|SM2_NUMCLASS)

here is a short description of my navigation:
german-->2nd level item1-->sub-items...
          -->2nd level item2-->sub-items...
          --> some more items-->sub-items...
          --> hidden german pages -->sub-items...
english-->same as above

In  the mentioned navigation I want only to be shown the second level items. All worked fine with all pages before I started to include the hidden ones... as I just mentioned above: when I call a hidden page all navigation items completely disappear.

Stefek

Quote from: mr-fan on November 09, 2008, 04:59:25 PM
Quote... my crystall ball is out of order at the moment wink

i want see a pic of your crystall ball  :-D

You can see mine


:-D

[/off-topic]

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

mr-fan

Quote... my crystall ball is out of order at the moment wink

i want see a pic of your crystall ball  :-D

i 've devined all WB pro's have such a thing!!!

sry for this offtopic...

regards martin

BerndJM

Hi,

would you please provide us your SM2 call ... my crystall ball is out of order at the moment ;-)

Regards Bernd
In theory, there is no difference between theory and practice. But, in practice, there is.

Mux

Hey, don't know if it's the right title for my problem...I use show_menu2 for my navigation. I've got a couple of pages which I don't want to be shown in the navigation menu. So I made them invisible/ hidden, but those pages can be accessed by links within some pages. When I go to one of those hidden pages the navigation items completely disappear. But of course, I want the navigation to be shown on any pages. Can somebody help me?
cheers, Mux