Oh, and am i right you have to create your own <cfif statements on
your display page or the template, so when no teaser exists you not
using the template and therefore not generating an error?

On Nov 26, 4:28 pm, Marco van den Oever <[EMAIL PROTECTED]>
wrote:
> "Why is something so basic so hard to set up?"
>
> Well to answer myself to that, because i am sometimes are a bit
> stubborn!
>
> Both thanks for helping, works great now :)
>
> And what about the related content, how do you include that?
>
> On Nov 26, 3:48 pm, ""Jørgen M. Skogås"" <[EMAIL PROTECTED]> wrote:
>
> > Sorry! Not the dmHtml folder, the dmImage folder. :)
>
> > Den 26. nov.. 2008 kl. 15.46 skrev Jørgen M. Skogås:
>
> > > Did you create the template (displayTeaserImage.cfm) in your project/
> > > webskin/dmHtml folder? Remember to update the application scope
> > > (updateapp=1 in the URL) after you have made this file/template.
>
> > > Jørgen~
>
> > > Den 26. nov.. 2008 kl. 15.38 skrev Marco van den Oever:
>
> > >> Why is something so basic so hard to set up?
> > >> I selected a related content image, a teaser image, then used you
> > >> examples (both) but it's just not working.
>
> > >> When i use:
>
> > >> <cfimport taglib="/farcry/core/tags/widgets" prefix="widgets">
>
> > >> <widgets:imageDisplay objectid="#stObj.objectid#"
> > >> imageSize="original">
>
> > >> It does nothing
>
> > >> When i use:
>
> > >> <cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />
>
> > >> <skin:view objectID="#stObj.teaserImage#"
> > >> template="displayTeaserImage" />
>
> > >> I have a problem because i can't find the displayTeaserImage template
> > >> as it is not in the dmimage folder, not in core etc.
> > >> Also i really want to place a related content not teaser. When i use
> > >> related content i see the AOBJECTIDS, shouldn't i be using that value
> > >> to relate to a image etc? When i try i get an error "Complex object
> > >> types cannot be converted to simple values." Before diving into that,
> > >> is that the way?
>
> > >> Ok so it's deprecated i see indeed in the imageDisplay.cfm:
>
> > >> "widgets tag library is deprecated; please use formtools."
>
> > >> So how can i use formtools to just show a related image or
> > >> teaserimage, i just want to show dynamic images on my page, when
> > >> there's no image just show nothing.
>
> > >> Is this whole function not meant to be? So should i just use the text
> > >> editor to place images?
>
> > >> Thanks
>
> > >> On Nov 26, 2:01 pm, ""Jørgen M. Skogås"" <[EMAIL PROTECTED]> wrote:
> > >>> It would be better to use the skin:view tag here.
>
> > >>> 1. <cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />
> > >>> 2. Create template(s) in your webskin/dmImage folder, ie.
> > >>> displayTeaserImage.cfm
> > >>> 3. <skin:view objectID="#stObj.teaserImage#"
> > >>> template="displayTeaserImage" />
>
> > >>> Jørgen~
>
> > >>> Den 26. nov.. 2008 kl. 13.51 skrev Sean Coyne:
>
> > >>>> its deprecated, but you can use the widgets tag library's
> > >>>> imageDisplay
> > >>>> tag:
>
> > >>>> <cfimport taglib="/farcry/core/tags/widgets" prefix="widgets">
> > >>>> <widgets:imageDisplay objectid="#stObj.objectid#"
> > >>>> imageSize="original">
>
> > >>>> On Nov 25, 8:19 pm, Marco van den Oever  
> > >>>> <[EMAIL PROTECTED]>
> > >>>> wrote:
> > >>>>> Anyone got a FC 5 working code example to display a related  
> > >>>>> content
> > >>>>> image or teaser image, or reference to info?
>
> > >>>>> On Nov 25, 9:24 pm, Marco van den Oever
> > >>>>> <[EMAIL PROTECTED]>
> > >>>>> wrote:
>
> > >>>>>> Hi, did you find any solution, i am now on 5.0.2 but can't really
> > >>>>>> get
> > >>>>>> it to work also....
>
> > >>>>>> On Nov 11, 11:43 pm, Helen <[EMAIL PROTECTED]> wrote:
>
> > >>>>>>> I know what you mean, I have stumbled accross other things in
> > >>>>>>> farcry
> > >>>>>>> that has really helped my understanding while trying to resolve
> > >>>>>>> something else.. So I agree "..spending ages.."  is definately
> > >>>>>>> not
> > >>>>>>> time wasted!
>
> > >>>>>>> On Nov 12, 8:13 am, Marco van den Oever
> > >>>>>>> <[EMAIL PROTECTED]>
> > >>>>>>> wrote:
>
> > >>>>>>>> Oh i know for sure, one big advantage of this 'spending ages'  
> > >>>>>>>> is
> > >>>>>>>> that
> > >>>>>>>> 'on the road' i always learn and see all kinds of stuff that
> > >>>>>>>> come in
> > >>>>>>>> handy later on :) For now i gonna update a earlier made plugin
> > >>>>>>>> that
> > >>>>>>>> wasn't really using the framework yet, after that i 'join in'  
> > >>>>>>>> on
> > >>>>>>>> skinning etc.
>
> > >>>>>>>> Maybe, hopefully, someone else can help you meanwhile.
>
> > >>>>>>>> On Nov 11, 10:03 pm, Helen <[EMAIL PROTECTED]> wrote:
>
> > >>>>>>>>> Thanks anyway  Marco for your reply
>
> > >>>>>>>>> I just realised that one of my errors was #stobj.teaserImage#
> > >>>>>>>>> which
> > >>>>>>>>> does not exist in the dmImage table, I changed it to
> > >>>>>>>>> #stobj.SourceImage# but am still no further ahead...  I am  
> > >>>>>>>>> sure
> > >>>>>>>>> I have
> > >>>>>>>>> just missed something simple, you know the way it goes,
> > >>>>>>>>> spending ages
> > >>>>>>>>> just to find you've done the silliest thing..
>
> > >>>>>>>>> On Nov 12, 7:49 am, Marco van den Oever
> > >>>>>>>>> <[EMAIL PROTECTED]>
> > >>>>>>>>> wrote:
>
> > >>>>>>>>>> Wish i could help you Helen, not into the skinning yet so
> > >>>>>>>>>> can't relate
> > >>>>>>>>>> right now...
>
> > >>>>>>>>>> On Nov 11, 7:26 am, Helen <[EMAIL PROTECTED]> wrote:
>
> > >>>>>>>>>>> Hi
>
> > >>>>>>>>>>> I have just read Steve's post on including images in the
> > >>>>>>>>>>> handpicked
> > >>>>>>>>>>> rule for farcry 
> > >>>>>>>>>>> 4http://nil.checksite.co.uk/post.cfm/displaying-images-in-containers-i
> > >>>>>>>>>>> ......
> > >>>>>>>>>>> I am now building a site in version 5 and I am trying to
> > >>>>>>>>>>> include
> > >>>>>>>>>>> images in the handpicked rule, I've done the following to
> > >>>>>>>>>>> display the
> > >>>>>>>>>>> images (but it's not working) and desperately need some
> > >>>>>>>>>>> help.. pretty
> > >>>>>>>>>>> please :)
>
> > >>>>>>>>>>> I have dropped into my projects webskin folder a folder
> > >>>>>>>>>>> called
> > >>>>>>>>>>> dmImage, which has a file called displayTeaserImage.cfm with
> > >>>>>>>>>>> the
> > >>>>>>>>>>> following code:
>
> > >>>>>>>>>>> <cfsetting enablecfoutputonly="true" />
> > >>>>>>>>>>> <!--- @@displayname: Display Image --->
>
> > >>>>>>>>>>> <skin:buildLink objectID="#stobj.objectid#">
> > >>>>>>>>>>>                        <skin:view
> > >>>>>>>>>>> objectid="#stobj.teaserImage#" typename="dmImage"
> > >>>>>>>>>>> template="displaySourceImage" />
> > >>>>>>>>>>> </skin:buildLink>
>
> > >>>>>>>>>>> <cfsetting enablecfoutputonly="false" />
>
> > >>>>>>>>>>> I thought I would be able to use <skin:buildLink ... for
> > >>>>>>>>>>> this? I
> > >>>>>>>>>>> realise this is probably a silly question, but I am not a
> > >>>>>>>>>>> code "heavy"
> > >>>>>>>>>>> so be gentle on me..
>
> > >>>>>>>>>>> Warm Regards
> > >>>>>>>>>>> Helen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to