>In the left >column I need to create a container that hold icons of two >different size that will represent our advertisers with a link >to their websites.
You could use a custom rule, but you may want to consider a custom type, or extended core type. One approach I've taken to banner ads is to extend the dmLink type to support images. I then created a display template for the new extended dmLink type which displays the image as a link and use this new display method in a standard rule to display the banner. For an example of a content object that supports images see the dmHtml type and see the Extending core components walkthrough (http://farcry.daemon.com.au/go/objectid/2B8CC3BC-D0B7-4CD6-F9525292C5BC 6A4E) for an example of how to extend core types. >I need >the content of this column to be editable so that it can be >updated by our users so I think has to be a container that >will hold it but it does not need to be available on any other >page put the homepage. Yes you want to use a container, but you probably want that container to have a unique label so that it is only displayed on your homepage. A very common approach to create page specific containers is set its label using the parent object's objectID. For example, in the homepage display method you may want to set the label for the icon container to something like <con:container label="#stobj.objectID#_icons">. >Can I have more than one body object on a page. Obviously it >would have to be a different name but can this be done somehow? You could have a display method with two containers and then schedule a different dmHtml object to each via a handpicked rule. >Can I do it as an include where the contents can be modified >by a content manager? You could certainly do it as an include, but then updates would probably be done outside of FarCry. >Can I create the table in the body object and call my >container for the feature articles with in the body object >verses calling it within the template page code? I don't think this is possible. --Nathan >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Jaci Chesnes >Sent: Monday, November 01, 2004 10:44 AM >To: FarCry Developers >Subject: [farcry-dev] Custom Rule? > >If I want to create a container that displays a set of images >instead of text is there a rule that exists that I can use >that already does this or do I have to create a custom rule. >I don't feel confident enough with myself and my understanding >to do that yet. So I've detailed what I am trying to >accomplish below and some possible ways to accomplish without >the container. > > > >Here's what I'm trying to do. I have all of my templates >created and my site is empty but all of the pages exist. On >the homepage I have a table that holds a left and right >column. In the left column I have a welcome blurb and then >below that a container that is calling all of the featured >articles for the current issues of the magazine. In the left >column I need to create a container that hold icons of two >different size that will represent our advertisers with a link >to their websites. They are set widths and heights. I need >the content of this column to be editable so that it can be >updated by our users so I think has to be a container that >will hold it but it does not need to be available on any other >page put the homepage. > > > >Here are my thoughts: > > > >Can I have more than one body object on a page. Obviously it >would have to be a different name but can this be done somehow? > > > >Can I do it as an include where the contents can be modified >by a content manager? > > > >Can I create the table in the body object and call my >container for the feature articles with in the body object >verses calling it within the template page code? > > > >Thanks > > > >Jaci > > > >--- >You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] >To unsubscribe send a blank email to >[EMAIL PROTECTED] Aussie Macromedia >Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
