Re: Re: Issue with ruleHandpicked - Farcry 6.2.4

Justin Carter <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
Thanks for the fix, I've committed it and I'll do a new tag of the CMS 
plugin today.

On Friday, December 14, 2012 4:57:42 PM UTC+11, Jon Low wrote:
>
> I have fixed this issue.
>
> It's a simple jQuery conflict on line *161* of 
> https://farcry.jira.com/svn/CMS/trunk/packages/rules/ruleHandpicked.cfc
>
> Essentially, the jQuery reference needs to be $j (farcry core style) 
> instead of $. Line 172 makes the correct jquery reference.
>
> Can this please be pushed into a Farcry CMS tag? 
>
> Cheers
>
>
> On Wednesday, November 28, 2012 5:45:52 PM UTC+10:30, Tim Parkinson wrote:
>>
>> 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]> wrote: 
>>> > On 28 November 2012 16:05, Tim Parkinson <[email protected]> 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.