use show_menu2 in a page

Cazz


ruebenwurzel

Hello,

the order in the frontend is the same as in backend. So if you wanna have it ordered alphabetical you have to do this manual by moving up and down the pages in the backend.

Matthias

Cazz

Hi Matthias
Yes that work very nice :)

I only have one little question.

Can I get so I can have like "order by title" so the menu go after alphabetical order?

or do I have to change the place after I have create a page from my administration area

ruebenwurzel

Hello,

best is to place the menu call in the index.php of your template at the place where it should appear.

Matthias

Cazz

Thanks for you fast replay.

I have read about "multiple menus" and maybe is that I looking for.
I know that I dont looking for any "drop-down menu"

I have on my page four links in my menu.
In one of them I have subpages

Page 1
Page 2 > Subpage 1, Subpage 2, Subpage 3......
Page 3
Page 4

The subpage dont show in the menu but when I click on the menu for Page 2 I want to show a list of my subpages

* Subpage 1
* Subpage 2
* Subpage 3
.....


I have this code in my index.php

<?php show_menu2(0SM2_ROOTSM2_STARTSM2_ALL'[a][menu_title]</a>''''''''[a][menu_title]</a>'); ?>

And what I have find out I use this code to list my subpage

<?php show_menu2(0SM2_CURR+1SM2_STARTfalsefalse'<li>'); ?>

but I have no idea how to put that inside "Page 2"
I have try when I create Page 2 that I choose "Code" and past the PHP code inside but nothing happend.
the "Code" maybe can't use PHP code or I have done something wrong :)


DGEC

If you want a DIFFERENT menu, search on "multiple menus".

If you want a drop-down menu, look in the addon/templates section: there are several "drop-down menu" templates there.  The "generic" template works fairly well.

Cazz

Hi
I use show_menu2 in a horizontal menu on my site

But I like to have submenu in a page when I click on a menu that have a submenu

I like to have a list of the submenu.

Is not so easy for me to tell what I like to have but I have you understand :)