It sounds like your asking two things.
1) Can I make it so that every container uses rule A?
2) I want to make sure that the rules chosen don't pick unactive obs.
Am I reading you right? If so, lets tackle the easy one first. If you want
to make sure your rules don't pick unactive obs, it's easiest to just edit
the rules execute handler to do it for you.
Now, how do you handle a default rule? There are a variety of ways. I would
suggest _not_ using the default container editor. Write your own. Have it do
(pseudo-code):
if( there isnt the only active rule in this container)
add it to the end of rules for this container
So, if you don't want to make your rules get active obs only and you want to
write a filter, that should be easy enough. I _believe_ it's a simple matter
to have rule N check to see what rules 1-N put in the container. You could
then filter out the unactive obs. Probably the hardest thing you will need
to do is ensure your rule is the last rule.
FYI, instead of creating a whole new container editor, you may just want to
modify the one out of the box.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Nate Smith [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 8:32 AM
> To: Spectra-Talk
> Subject: Setting Default Publishing Rules
>
>
> Hello all,
>
> I want to set up a default publishing rule that can't be removed from the
> publishing rules list. This rule will filter out content from the Basic
> Publishing Rule that comes with Spectra. Is there a way to do this so that
> every container on the site automatically uses this rule before
> it runs any
> other publishing rules that an admin selects for a container?
>
> The purpose of this rule is to filter out any content that has an
> attr_approved bit set to 0.
>
> -
> Nate Smith,
> Lead Developer
> [EMAIL PROTECTED]
> www.doceus.com
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.