This is really cool to hear- this is definitely what we were thinking when
we put together the tags for getting parents, peers, and children.
Let us know how it works for you!
-charles
-----Original Message-----
From: Tom Briscoe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 9:49 AM
To: Spectra-Talk
Subject: Re: Menu's using Spectra ?????
I'm doing something similar to create 'bread crumb' or 'you are here'
contextual style navigation for my company.
It's based on the Site Layout Model where I've specified a 'startURL' for
each section. I use <cfa_siteElementGetParents> to get the structure of
the page's parents' Site Layout elements. (Each page has 'pageID' set as a
return variable.) Then I simply restructure that data (with the section
labels and startURL) to use as contextual navigation.
Any comments on this approach are welcome. So far it works cleanly and
easily as long as I'm careful to define the 'startURL' for every section.
I'll send you some code off list.
Tom Briscoe
Web Developer, AVP
Compass Bank
[EMAIL PROTECTED]
http://www.compassweb.com/
>>> "Leon Greeff" <[EMAIL PROTECTED]> 02/21/01 07:09AM >>>
Hi,
I am pretty new to the Spectra environment. I would like to know how to
approach a menu. Like a dynamic menu that will change ie, where the users
are in the site.
Example.
ABS organisation has branches in country a, country b, country c .......
country xxx. When a user first hits the site the default menu will load.
>From there the user can select country a or b or c .... xxxx If the user
selects country a then a menu loads with main categories and subcatogories,
only relevant to that country.
I was thinking of the following approach;
Must I create sections(different directories) for all the countries and then
object type will have all the properties a normal menu will have. The menu
from the differnent countries will be an object of the object type MENU. So
that when a new page is created by a "power user" it can pull in that menu
with its objects(which is the main categories and sub categories)..
I lost my mind about this problem can anyone mail me if anything is unclear.
Maybe ther is a simple way of doing this using spectra and I am just
overlooking it.
Thnx in advance.
Cheers
Leon
Ps: ... if anyone can send me some sample code to work from I wont bug the
list again... :-P
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.