Thanks that helped I'll probably modify the type to use the
medtadata.cfc like the news type.  Might have more questions as a go
along.

Jaci

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Mercer
Sent: Wednesday, March 16, 2005 12:37 PM
To: FarCry Developers
Subject: [farcry-dev] Re: Facts and Categories

dmNews has the following property that is not in dmFacts
<cfproperty name="aObjectIds" type="array" hint="Mixed type children
objects that sit underneath this object" required="no" default="">

and in the PLP has a different handler
  mettadata.cfc Vs catergories.cfm

dmFact uses a component called categories (packages\farcry\)
and saves that values in a table called refCategories

The method getCategories does not have a ORDER BY claues in the SQL

So maybe you could extend the categories comonet and override this
method and add you own sorting.

Or if dmNews does what you are after, modify your extended fact
componet to work in the same way be liberating the categories/metdata
section.


On Wed, 16 Mar 2005 10:55:41 -0500, Jaci Chesnes
<[EMAIL PROTECTED]> wrote:
>  
>  
> 
> I have a two part question: 
> 
>   
> 
> I extended the Facts type and am calling them in a container based on
> category association. I need to be able to control the order in which
these
> items display.  On all of the other dynamic content types (events,
news)
> there is a seperate table in the database (dmEvents_aobjectIds) that
> associate the individual objects of that type to categories (if they
have a
> category association.  The dmFacts type does not. 
> 
>   
> 
> So my first question is, how are the dmFacts being associated to
Category in
> the database. 
> 
>   
> 
> And second is there any easy way to pass an order by command to the
objects
> created in a dynamic type.  I can't event figure out how they are
being
> ordered currently. 
> 
>   
> 
> Thanks! ---
>  You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
>  To unsubscribe send a blank email to
> [EMAIL PROTECTED] Aussie Macromedia
Developers:
> http://lists.daemon.com.au/

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to