Re: Re: Issue with ruleHandpicked - Farcry 6.2.4

Tim Parkinson <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
Thanks for the tip. I have written rules before so that's not really the 
issue. We use the handpicked rule for multiple content types so its not 
just a matter of creating a new rule for images, I'd essentially have to 
rebuild handpicked totally.

I'm in no rush for the fix, I just wanted to make the devs aware that there 
appears to be a problem.



On Wednesday, November 28, 2012 4:15:24 PM UTC+10:30, Geoff Bowers wrote:
>
> Just fired up http://builder.farcrycore.org and built a simple rule: 
>
> <cfcomponent extends="farcry.core.packages.rules.rules"> 
>
> <cfproperty name="sourceImageUUID" type="uuid" required="false" 
> ftSeq="1" ftWizardStep="" ftFieldset="" ftLabel="Source Image" 
> ftType="uuid" ftJoin="dmImage" 
> ftHint="Choose a source image from the library."> 
>
> </cfcomponent> 
>
> Save that to ./yourproject/packages/rules/ruleMyImage.cfc and deploy. 
>
> Then create a webskin at ./yourproject/webskin/ruleMyImage/execute.cfm 
> and put whatever you need in their to render your image.  Could be as 
> simple: 
>
> <skin:view objectid="#stobj.sourceImageUUID#" typename="dmImage" 
> view="displayTeaserStandard" /> 
>
> Hope that helps, 
>
> -- geoff 
> http://www.daemon.com.au/ 
> skype. gb.daemon 
> twitter. @modius 
>
>
> On 28 November 2012 16:35, Geoff Bowers <[email protected]<javascript:>> 
> wrote: 
> > On 28 November 2012 16:05, Tim Parkinson <[email protected] <javascript:>> 
> wrote: 
> >> I've just done a fresh install of the updated community package and 
> there 
> >> still seems to be an issue. 
> > 
> > Rather than waiting for a fix on Hand Picked Rule, might be worth 
> > having a crack at writing a specific rule to hold your image and 
> > display.  Rules are surprisingly easy to write, especially if all you 
> > want to do is select a content item and render a small view on it. 
> > 
> > Plus its fun too :) 
> > 
> > -- geoff 
> > http://www.daemon.com.au/ 
> > skype. gb.daemon 
> > twitter. @modius 
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.