Title: Message
 > Any pointers on how I would develop a custom type to use categorisation?
 
Here's a snippet of code from the dmFacts PLP in farcry_core\packages\types\_dmFacts\plpEdit\categories.cfm This should get you started in the right direction.
<!---Begin Snippet--->
<div class="FormTitle">Categories</div>
 
<cfinvoke  component="#application.packagepath#.farcry.category" method="getCategories" returnvariable="lCategegoryIds">
 <cfinvokeargument name="objectID" value="#output.objectID#"/>
 <cfinvokeargument name="bReturnCategoryIDs" value="true"/>
</cfinvoke> 
 
<div align="center" class="FormTableClear">
<form action="" method="post">
 <table align="center"><tr><td id="tree">
 
  <cfinvoke  component="#application.packagepath#.farcry.category" method="displayTree">
      <cfinvokeargument name="bShowCheckBox" value="true">
   <cfinvokeargument name="lSelectedCategories" value="#lCategegoryIds#">
        </cfinvoke>
</td></tr>
<tr>
 <td>
  <input type="Submit" name="apply" value="Apply Categories" class="normalbttnstyle">
 </td>
</tr></table>
</form>    
 
</div>
<!---End Snippet--->
 
~Tom
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to