Is there a way to have a nav menu to show only subcategories

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
drswank
Posts: 6
Joined: Mon 15. Mar 2004, 06:36
Location: SwankWorld

Is there a way to have a nav menu to show only subcategories

Post by drswank »

:!: I was wanting to know if there's a way that you can have a nav menu only show subcategories of a parent category. For instance, I have Category A listed under index (website start), I want to add other sub categories under category A. When I go to http://website/index.php?categoryA I would like to have the nav menu only show the subcategories of category A, not the entire tree of the index. Sorry if this sounds a little redundat, btw! Any help would be great!
Pappnase

Post by Pappnase »

hello swank!

you can do this!

with the {nav_table_column:X} X= structure ID where the navigation should start. it will show all whats below this ID.

so you can create multiple navigations
kachete
Posts: 26
Joined: Mon 16. Feb 2004, 13:59
Location: Maturin / Monagas / VENEZUELA
Contact:

Post by kachete »

with this way of code can we make structures like horizntal menus and when we press the button on that horizontal menus only show categories under this.

i think that the way but i dont know to make it work

have to get new templates for every b utton of the horizontal menu o something like this

how we can implement horizontal navigations and dont die implemented it

i dont know if this work this way is only a guess i have

sorry if in wrong i only want to learn to many things in the short time

thanks in advance

best regards to all
No hay preguntas tontas, solo tontos que no preguntan
Pappnase

Post by Pappnase »

hello

yes you're right! i know there was an solution for this i will look if i can find it so fast!

----CUT----

http://www.phpwcms.de/forum/viewtopic.p ... rrent#9781

---CUT2----

but if you wanna do this with graphics i think there is no other solution that you create for each it's own template. and then you call in each template the structure you want! hope you understand what i mean
kachete
Posts: 26
Joined: Mon 16. Feb 2004, 13:59
Location: Maturin / Monagas / VENEZUELA
Contact:

Post by kachete »

man you are fast and a genius

i still dont get it to much to implement

and i want to do the reverse situation

i want to make an upper navigation and see the categies under this element to show in the left column of my template

if you can help please send me a hint

thank man

if you dont remenber you also help me when in beginning with WCMS 21 days ago

VIVA VENEZUELA
No hay preguntas tontas, solo tontos que no preguntan
Pappnase

Post by Pappnase »

hello

i know who you are!*smile*

so you say you wann made an upper navigation and only show this whats beneath this navigation is in the left table! so you see the slutions above!*smile*
drswank
Posts: 6
Joined: Mon 15. Mar 2004, 06:36
Location: SwankWorld

Post by drswank »

Indeed you are a genius! Thanks a lot! I'll give it a try. If it doesn't work...I'll be back :wink:
Pappnase

Post by Pappnase »

drswank wrote:Indeed you are a genius! Thanks a lot! I'll give it a try. If it doesn't work...I'll be back :wink:
*SHOCK* :wink:
drswank
Posts: 6
Joined: Mon 15. Mar 2004, 06:36
Location: SwankWorld

Post by drswank »

Actually, I have another question. Is the structure ID the alias of the category? Also, I'm running version 1.1 RC2, is this nav menu option available in this version??

Thanks!
Pappnase

Post by Pappnase »

yes it's also possible with the rc2 version!

no the id is not the alias! if you go with the mouse over the first icon before the structure name you will see the id!
drswank
Posts: 6
Joined: Mon 15. Mar 2004, 06:36
Location: SwankWorld

Post by drswank »

That works perfect! Thanks for all your help Pappnase!!
Post Reply