I think Jake is probably right.

You need to be setting up a rule that allows you to apply a title and
style to the content you are displaying in a container, rather than
trying to change the container itself.

A container is really only a "marker" on a page that allows you to
apply a display rule to that section of the page.  Its the rule that
actually does the displaying, the container only identifies a position
in a page.

You need a rule that allows you to select a style that is already in
the system and apply a title to the display of the other content.

It might be worth taking a look at the handpickedrule as a basis of
your own rule, if you need to be able to apply a title and style to
multiple content types.

Regards

Stephen

On 02/03/07, Duncan <[EMAIL PROTECTED]> wrote:
>
> Has anybody got any other thoughts on this?
>
> On 27 Feb, 18:21, Jake Churchill <[EMAIL PROTECTED]> wrote:
> > I haven't messed with this, but when you create the container (ie
> > <con:...> you might be able to pass additional attributes.  If not you
> > might have to try to extend the container object.  Just a thought...
> > Where are you going to store the custom information that the user enters
> > for that container?  The container object is very generic.  This is why
> > I created a custom rule in my example because FC will integrate that
> > into the DB.
> >
> > Jake Churchill
> > CF Webtools
> > 11204 Davenport, Ste. 200b
> > Omaha, NE  68154http://www.cfwebtools.com
> > 402-408-3733 x103
> >
> > Duncan wrote:
> > > Hey Jake,
> >
> > > Thanks for the link.  Unfortunately it is the actual container object
> > > we need to modify as it is the container we need to store properties
> > > against rather than the rules it contains.  e.g. the container needs
> > > to have user defined title and style which wil then contain a number
> > > of rules.
> >
> > > Thanks,
> > > Duncan
> >
> > > On Feb 27, 6:10 pm, Jake Churchill <[EMAIL PROTECTED]> wrote:
> >
> > >> I blogged about custom rules.  Maybe this will help you.
> >
> > >>http://jake.cfwebtools.com/index.cfm/2007/1/12/Farcry-Custom-Rule-HOWTO
> >
> > >> Jake Churchill
> > >> CF Webtools
> > >> 11204 Davenport, Ste. 200b
> > >> Omaha, NE  68154http://www.cfwebtools.com
> > >> 402-408-3733 x103
> >
> > >> Duncan wrote:
> >
> > >>> hello all,
> >
> > >>> We need to be able to add some additional properties to our container
> > >>> objects.  Users need to be able to define the title (for display) of
> > >>> the container and then select a css style to apply to the container.
> >
> > >>> I know we can hardcode the container title/style in preHTML within the
> > >>> template code but we need to allow users the option to define these
> > >>> variables.
> >
> > >>> Has anybody else done this? if so can you let me know how you did it?
> > >>> or if you haven't done it, do you know it would be done?
> >
> > >>> Alternatively - as there are many ways to skin a cat - can you think
> > >>> of an alternative way of dealing with this requirement?
> >
> > >>> thanks,
> > >>> Duncan
>
>
> >
>

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