Finally managed to get <cf_buildtree> to do what I wanted. All thanks to another tag called cf_indentcategory which gave me the layout I needed.

Cheers

Dave

At 14:57 2/7/2003 +0000, you wrote:
You could tree using xtree.

It's a javascript tree builder but, I've just been using that to build a
site tree.

A have a recursive function that goes through the subdirectories of my
website and generated the javascript file.

It's not a bad little script actually.

-Darren

> -----Original Message-----
> From: Dave Phipps [mailto:[EMAIL PROTECTED]]
> Sent: 07 February 2003 12:46
> To: ColdFusion User group
> Subject: [ cf-dev ] Recursive Menu UDF or CT
>
> Hi,
>
> I have spent most of the morning trying to get the <cf_buildtree> tag
to
> output a menu the way I want it to and I am not getting anywhere.
>
> I have the following db table that I am testing with:
>
> menuid | menuname | parentmenuid
>
> I have various records that are related to one another via the
> parentmenuid
> with the root menu items = 0.
>
> Does anyone have a UDF or CT that separates the display from the logic
or
> that allows a more customised look.
>
> I have attached the custom tag <cf_buildtree>.  If anyone wants to
take a
> look and tell me how to get rid of the list and replace it for span
tags
> with different left-margin values for each level of the menu.
>
> Many thanks
>
> Dave



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to