What version of Magnolia are you working on? Export a folder from the
data repository and have a look at its type. It will most likely be
"mgnl:dataFolder" if I'm not completely wrong...
-will
On 04.02.2009, at 13:19, Matteo Pelucco wrote:
Hi all..
I've setup automatic activation for certain pages, it works fine,
thanks for observation module!
But, I would like also to automatically activate some content inside
"data" repository.
So, I configured this:
- palinsesto-data-node-added
- listener
[] command = ...commands.ActivationCommand
[] itemTypes = palinsestoEntry
[] repository = data
[] class = ...commands.RestrictToNodeTypeEventListener
[] nodeType = palinsestoEntry
[] active = true
[] description = Palinsesto Data Activation
[] eventTypes = NODE_ADDED
[] includeSubNodes = true
[] path = /
[] repository = data
I've noticed that when I create new nodes under [data]/palinsesto/
2009/12... activation fails.
It happens when I manually insert a new folder below [data]/
palinsesto, e.g.: [data]/palinsesto/2009:
the listener is not fired. Why? A folder is not a Node?
M.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------