Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Ken Fine #1
Want recursive SQL query function to generate breadcrumb navigation to top level
I'd want to make a custom class that will generate breadcrumb navigation for
my site via a recursive query, e.g. Home > Page1 > Subpage 1. I've
structured my database with hierarchical parent/child relationships. Can
someone help me set up the code structure?
I'm using ASP VBScript, and I have a table structure similar to the
following:
NavItems
----------
NavitemID (PK)
Nav_ParentID
Nav_Name
The top level record in the entire table is "1", but it would be nice if I
could parameterize the function so that I could specify the ID of the
current page and the ID of the topmost ID I want to trace to, e.g.
GetTrailOfBreadcrumbs(CurrentNavitemID, TopmostNavitemID)
The least expensive approach from the standpoint of the database would be
something that used something besides ADO recordsets to grab the data. If
someone has some code lying around or can offer some guidance, I'd sure
appreciate it.
Thanks.
-KF
Ken Fine Guest
-
#40715 [NEW]: level too deep - recursive dependency? in Unknown on line 0
From: shoichi at cf7 dot so-net dot ne dot jp Operating system: CentOS4.4 PHP version: 5.2.1 PHP Bug Type: Scripting Engine... -
Breadcrumb navigation script in PHP
Hi I've just spent about 4 hours looking in vain for a PHP based breadcrumb navigation script. There are loads available but they all seem to... -
Recursive Query / Breadcrumb
I'm about to go nuts here! I'm trying to build a dynamic breadcrumb (not a file level breadcrumb) using all different kinds of means and just can't... -
Breadcrumb Navigation in Flash
Does anybody know how I can have a single Flash file (a navigation bar) highlight the section you're in once you click on a piece of the navigation?... -
#24746 [Bgs]: Fatal error: Nesting level too deep - recursive dependency?
ID: 24746 User updated by: tim at sparkart dot com Reported By: tim at sparkart dot com Status: Bogus Bug Type: ... -
Alexandro Colorado #2
Re: Want recursive SQL query function to generate breadcrumb navigation to top level
On Tue, 29 Mar 2005 16:53:07 -0800, Ken Fine <kenfine@u.washington.edu>
wrote:
We have an extension called MX Breadcrumbs which might help you solve your> I'd want to make a custom class that will generate breadcrumb navigation
> for
> my site via a recursive query, e.g. Home > Page1 > Subpage 1. I've
> structured my database with hierarchical parent/child relationships. Can
> someone help me set up the code structure?
>
> I'm using ASP VBScript, and I have a table structure similar to the
> following:
>
> NavItems
> ----------
> NavitemID (PK)
> Nav_ParentID
> Nav_Name
>
> The top level record in the entire table is "1", but it would be nice if
> I
> could parameterize the function so that I could specify the ID of the
> current page and the ID of the topmost ID I want to trace to, e.g.
>
> GetTrailOfBreadcrumbs(CurrentNavitemID, TopmostNavitemID)
>
> The least expensive approach from the standpoint of the database would be
> something that used something besides ADO recordsets to grab the data. If
> someone has some code lying around or can offer some guidance, I'd sure
> appreciate it.
>
> Thanks.
>
> -KF
>
>
issues, plus is free :D
[url]http://www.interaktonline.com/Products/Free-Products/MXBreadcrumbs/Overview/[/url]
--
Alexandro Colorado
------------------------------
Support Engineer
InterAKT Online
[url]http://www.interaktonline.com[/url]
Tel: 40(21) 312.5312
Alexandro Colorado Guest



Reply With Quote

