Skip to content

Commit

Permalink
add file and image attachments and bulk uploading to blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
justincarter committed Feb 7, 2014
1 parent 70ef38a commit 2917553
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/types/blogPost.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@

<cfproperty name="body" type="longchar" required="false"
ftSeq="4" ftFieldset="Content" ftLabel="Body"
ftType="richtext">
ftType="richtext" ftTemplateTypeList="dmImage,dmFile,dmNavigation,dmHTML"
ftImageArrayField="aAttachments" ftImageTypename="dmImage" ftImageField="StandardImage">

<cfproperty name="aAttachments" type="array" required="false"
ftSeq="5" ftFieldset="Content" ftLabel="Attached Images / Files"
ftType="array" ftJoin="dmImage,dmFile"
ftAllowEdit="true" ftAllowBulkUpload="true">

<cfproperty name="aRelated" type="array" required="false"
ftSeq="5" ftFieldset="Relationships" ftLabel="Related Blog Posts"
ftSeq="6" ftFieldset="Relationships" ftLabel="Related Blog Posts"
ftType="array" ftJoin="blogPost" ftLibraryDataSQLOrderBy="posteddatetime DESC">

<cfproperty name="views" type="integer" required="false" default=""
Expand Down

0 comments on commit 2917553

Please sign in to comment.