Quote from: cms at May 31, 2010, 06:36 PM
This looks really powerful but also fairly daunting for a designer -it’s hard to make sense of this compared with ManagerManager.
Right; it’s a bit more complex than MgrMgr because this allows you to do rules to *any* action (in other words, manager page). So it’s more complex by necessity.
As an example, lets say I would like all my custom TVs to appear where "Resource Content" currently appears - and with the same behavior i.e. they always appear if the top details are hidden etc.
This can only be done in Revo SVN currently, but will be available for RC-3. It was an oversight and should have been in RC-2.
Firstly, I’d need to hide the built-in content resource?
http://svn.modxcms.com/docs/display/revolution/FC-Resource - see the bottom of the page.
Rule Actions
Is there are list of what all the rule actions are and what they do? My first uninformed guess was to go for "core-browser" (as I’d like to affect the main browser window) but then tried "core-resource" because the form I’d like to change is the create/edit resource page?
Each ’action’ represents a manager page. There isn’t a documented list yet, but there will be eventually.
The one you want is ’resource/create’ and ’resource/update’ (create for new Resources, update for editing existing ones - TV rules apply to both automatically).
After searching, I couldn’t find a list of field names for Revolution (I’m sure I’ve seen one) so guessed with "tvreseourcecontent" as this is the name as it appears in manager.
See above documentation link.
Rule Value
I chose "Field Visible" as the rule and put "0" as the value which I think is correct. Also, is it possible to change a rule once it’s been made - is this possible?
Correct on both accounts.
Sorry if this is all easy, it’s just a bit hard to get your head around the steps necessary to perform a complete operation from separate wiki entries - especially if you’re not a developer.
Any suggestions would be most welcome.
Cheers
This will be documented much more post RC-3.