Rules that insert content (like news) into a page allow you to pick a
display method for just that page. The rule gets the data for those items
and uses the display method you choose to generate html, then outputs them.
The rule and display method don't have any intrinsic connection to the
details page and its display method - but you can link to the details page.

The details page will use the display method you specify while editing the
news item in the FarCry admin console. That means that if you simply
navigate to it (/index.cfm?objectid=...) that is the display method that
will be used.

If you want to be able to specify different display methods for the details
page you can either:

   - Add a query string parameter
   This is a good option for when you just want slight changes in the
   display - i.e. you can just check for the parameter in the display
   method itself and handle it there.
   - Create a specialized display handler
   This is a reasonable choice for chreating print friendly pages - you
   set up printfriendly.cfm, and that file is coded to always use the
   same specific display method.

But usually, just using the display method property of the item itself is
enough for most situations.

Blair

On 2/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
> I guess this is the part that I don't understand.
>
> I add a container to a page.
> I switch to design mode - choose the news rule and the news I wanna
> see and the display method.
> The method I choose here is for the page that shows all my news teaser
> - not the details.
> How does Farcry make the connection between the teaser and the
> details... is there a naming convention
> or anything like that?
>
>
> On 5 Feb., 11:42, "Blair McKenzie" <[EMAIL PROTECTED]> wrote:
> > You can only choose the one display method for the details page. I'm not
> > sure what might cause your problem though.
> >
> > Blair
> >
> > On 2/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > wrote:
> >
> >
> >
> > > Yes - I chose a display method. But the method I can choose is for the
> > > teaser page.
> > > This part works fine - if I change to another display method the
> > > teaserpage looks
> > > different. But when I click on the teaser I expect a certain display
> > > page to be used.
> > > Where can I tell the teaser which details page to use?
> >
> > > On 5 Feb., 09:29, "Blair McKenzie" <[EMAIL PROTECTED]> wrote:
> > > > When you create the news item, on the start page you should be able
> to
> > > > choose a display method.
> >
> > > > On 2/5/07, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]>
> > > > wrote:
> >
> > > > > I just copied the code from the default Layout that comes with
> Farcry:
> > > > > <a href="/index.cfm?objectid=#stObj.objectid#">
> > > > > Where would I add this property and what should it's value be?
> >
> > > > > Thank you
> > > > > Bernd
> >
> > > > > On 5 Feb., 02:04, "Blair McKenzie" <[EMAIL PROTECTED]> wrote:
> > > > > > Is the display method property on the news items set?
> >
> > > > > > Blair
> >
> > > > > > On 2/4/07, [EMAIL PROTECTED] <
> > > [EMAIL PROTECTED]>
> > > > > > wrote:
> >
> > > > > > > I guess I am missing something. I wanna add news to my page.
> > > > > > > I got to the point where I can see the news-teaser on my page,
> > > > > > > but when I click on the link and I expect to see the news
> details
> > > > > > > all I get is "This is the default output of types.Display():"
> and
> > > > > > > a dump.
> >
> > > > > > > Where do I make the connection between a teaser format and the
> > > > > > > layout that I wanna use to show the news details?
> >
> > > > > > > Thanks in advance
> >
> > > > > > > Bernd
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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