Page 1 of 1
Is there a way to have a nav menu to show only subcategories
Posted: Wed 28. Apr 2004, 22:36
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!
Posted: Thu 29. Apr 2004, 00:30
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
Posted: Thu 29. Apr 2004, 00:48
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
Posted: Thu 29. Apr 2004, 00:56
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
Posted: Thu 29. Apr 2004, 01:11
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
Posted: Thu 29. Apr 2004, 01:17
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*
Posted: Thu 29. Apr 2004, 01:32
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

Posted: Thu 29. Apr 2004, 01:35
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

*SHOCK*

Posted: Thu 29. Apr 2004, 01:36
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!
Posted: Thu 29. Apr 2004, 01:50
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!
Posted: Thu 29. Apr 2004, 02:06
by drswank
That works perfect! Thanks for all your help Pappnase!!