To change sitegroups of my old site, I must use mgd_walk_tree but I don't understand how it works !
my code : <? $root=14; mgd_walk_topic_tree($root->setsitegroup(id, level), $root, 1, 0) ?>
I'm not sure for the last parameters.... Is it the good method ?
I'm lost :-(
Benoit Lathiere
------- original mail from PP ----------
pp a �crit:
Benoit Lathiere <[EMAIL PROTECTED]> wrote:
Every user in SG0 is power user (root) , so You can not assign SG0 users to groups. You must create new SG and move all objects to this SG.
right ! pfeeuuu... big word to move all objects.
not at all :)
mmhhh... can I just update field sitegroup in the base ?
use mgd_walk_tree functions and use setsitegroup method.
You should worry if You want to export and import Your database. Importing Asgard will not change Your topics and articles' id's. So everything will work exactly as You wanted.
I can't find doc for Repligard ?
http://www.midgard-project.org/manual/en/part.concepts.repligard.php
repligard --help :)
Piotras
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
