Jan Haderka ha scritto:
Since you want to activate _all_ your nodes, the rule doesn't matter
that much. You can call addAllowType() for all the node types that you
create.
Right. I'll do.
Another thing to be aware of when playing with rule: If you change the
rule to include every node you want to activate, it will be activated in
one chunk.
This is not so clear.
I had a look to *DataActivateAllCommand*: here and also on
BaseDataAllCommand is written that activation will be launched for each
node retrieved by the query.
My structure is:
[] 2009 <dataFolder>
[] 09 <dataFolder>
[] 20 <dataFolder>
[] folder1 <dataFolder>
[*] node1 <customType>
[*] node2 <customType>
[] folder2 <dataFolder>
[*] node3 <customType>
[*] node4 <customType>
I would like to launch the "activate all" command over 20 <dataFolder>,
in order to have all the subnodes activated on public, like a manual
"right-click" -> "activateAll".
Nodes are around 300 per days, what do you suggest?
Thanks Jan..
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------