Hi Andrew,

>  Is there a way to format the text inputed into the Intro for a container
> 
> I have got it working with the following, but there must be a better way..?
> from the rule CFC
> <cfif len(trim(stObj.intro)) AND qGetNews.recordCount>
>     <cfset tmp = arrayAppend(request.aInvocations,'<div
> class="underheader">#stObj. intro#</div>')>
> </cfif>

What don't you like about this approach?

Changing it slightly, you could add <p class="intro">#stObj. intro#</p>
to the cfc, then add preHTML and postHTML to your container to specify
an id or class.

<con:container label="#stobj.objectID#_myContainer" preHTML="<div
id=""myContainer"">" postHTML="</div>">

That would allow you to style
#myContainer p.intro { ... }
#myOtherContainer p.intro { ... }


Or were you after WYSIWYG plug-in editor styling for content editors?

Regards,
Ben

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

Reply via email to