On Aug 8, 2008, at 2:35 PM, Will Scheidegger wrote:
We've got a Magnolia instance with a few user accounts which were
created using the HierarchicalUserManager. This user manager places
the accounts in a folder structure depending on the usernames. Now
we're at the point where we would like to go online and therefore
need to publish the user accounts to the public instance.
Unfortunately one cannot activate the folders with all the user
accounts in them... neither can we publish a single user account -
because it's parent objects (the folders) do not exist!
For now I simply copied he users repository from the author instance
to the public instance.... but as soon as a new user is added by the
admin in the author instance... we've got a problem, Huston!
I did try to configure a special JCR browser but have not succeeded
so far - I admit however that I have close to zero experience in
doing this. Any help, pointers, solutions or suggestions warmly
appreciated... because we're a bit in a hurry here. :-/
Line 157 of UsersTreeConfiguration:
menuActivateExcl.setOnclick(tree.getJavascriptTree() +
".activateNode(" + Tree.ACTION_ACTIVATE + ",false);");
This sets the js function which is used for the "activate" button.
Make that second parameter "true" and you'll have "activate including
subnodes", so you should be able to activate the folders. No guarantee
this will work though, but that should get you started ;)
-g
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------