Yes it is the case!

I want to make use of the site layout model to show the hierarchy of my
site, I don't think I can do this without section names.

My page definitions are as follows (in order of hierarchy)

<cfa_page
        pageName="home page"
    dataSource="dms"
    sectionName="testclient_home"
    siteName="Test Client"
    r_pageID="variables.pageid">

<cfa_page
        pageName="schoolmanagement home"
    dataSource="dms"
    sectionName="school management"
    siteName="Test Client"
    r_pageID="variables.pageid">

<cfa_page
pageName="hot topics home"
    dataSource="dms"
    sectionName="hot topics"
    siteName="Test Client"
    r_pageID="variables.pageid">

I let spectra create my layout, and I then go in and make:

Section "hot topics" the child of section "school management
Section "school management the child of section testclient_home

Re-browsing the pages causes new objects to be created

Tony Brett
Creative Developer
Circle.com, 100 Victoria Street, Bristol, BS1 6HE
tel: 0117 9146266
fax: 01179146125
mobile: 07773717420
icq: 62185107


-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2001 13:38
To: Spectra-Talk
Subject: RE: Site Layout Model


Stuff should _only_ be registering once. If that's not the case, let me
know.

In general, you only need sections if you plan on applying section wide
settings, like for caching or logging. If you don't need that and find
sections confusing, don't worry about em, just use unique page names.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Michiel Boland [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 16, 2001 8:24 AM
> To: Spectra-Talk
> Subject: Re: Site Layout Model
>
>
> > > Do I have to put more info in my <cfa_page) tag?
> >
> > I think you need to take the sectionname out. Spectra will
> figure out the
> > correct section if you use cfa_page with just a pagename. At
> least this is
> > how things worked in 1.0.1.
>
> Ok in 1.5 you need to specify a comma-separated list of sections. So if
> your page is in section 'tools' which in turn is a child of 'home' you
> need something like
>
>  <cfa_page pagename="flubrd" sectionname="home,tools">
>
> BTW I really really am starting to really HATE the self-registering of
> pages/sections/etc with cfa_page. I wish there was a knob in spectra to
> turn this off.
>
> --
> Michiel Boland <[EMAIL PROTECTED]>
> Digital Valley Internet Professionals
> Plantsoen 17, Wageningen, The Netherlands
> Phone: +31 317 465555, Fax: +31 317 460276
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.

Reply via email to