Is it possible to do this seperately as these categories are only to be used for the products section and i would prefer if the products and categories were more of a plugin. I have created a product.cfc and a productCategory.cfc and put it in the packages.types dir for my project and started mucking around with the scaffolding form. It would be great if i could grab these files, deploy them to another website on a different server and not have to setup core categories.
Any ideas? Cheers, Ash On 10/8/07, Jake Churchill <[EMAIL PROTECTED]> wrote: > > Assuming categories have not changed from v3 to v4 you can use what's > built in. Use the category tree and functions for it ( > application.factory.oCategory) and you can manage everything that way. > > > > _____ > > Jake Churchill > Team Leader > 11204 Davenport, Ste. 100 > Omaha, NE 68154 > http://www.cfwebtools.com > 402-408-3733 x103 > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Ashley Gibson > *Sent:* Monday, October 08, 2007 3:07 AM > *To:* [email protected] > *Subject:* [farcry-dev] Categories & Sub categories > > > > Hello, > > I am building a simple list of products which have categories which can > have subcategories etc... > > How do i go about using the one category table to manage sub categories. > > I have tried putting a property in the cfc that points back to itself as > per below. It creates the table when i click deploy but still reports a > conflict. if i try and deploy again, it just gives me a dump of the array. > > <cfcomponent name="dmCategory" displayname="Category" extends=" > farcry.core.packages.types.types" hint="Custom Type for Category content" > bUseInTree="false" bObjectBroker="true" objectBrokerMaxObjects="1000"> > > <!--- property definitions ---> > <cfproperty ftSeq="1" > ftFieldSet="Category Details" > name="CategoryName" > type="string" > required="true" > hint="Name of a Category" > ftLabel="Category Name" > ftType="string" > ftValidation="required" /> > > <cfproperty ftSeq="2" > ftFieldSet="Category Details" > name="CategoryDesc" > type="string" > required="false" > hint="Description of a Category" > ftLabel="Category Description" > ftType="string" /> > > <cfproperty ftSeq="3" > ftFieldSet="Category Details" > name="ParentCategory" > type="array" > required="false" > hint="Parent Category" > ftLabel="Parent Category" > ftType="array" > ftJoin="dmCategory" /> > > </cfcomponent> > > -- > Cheers, > > Ash > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 10/7/2007 > 6:12 PM > > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 10/7/2007 > 6:12 PM > > -- Cheers, Ash --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
