Ok folks, here we go.

AFAIR that was tha way:

1. create /hklc_adminsite_host/argv0/copy snippetdir
2. create copy snippet (copy.php)
3. create /hklc_adminsite_host/argv0/copytree snippetdir
4. create copytree snippet (copytree.php)

same action to do with "move" snippets and dirs.

Last thing was to put:

<a
href="{mgdroot}/rcs/movetree/topics/?what=XXX&thisid={id}&sitegroup={sit
egroupid}" target="content" class="subtitle">Move</a>
<a
href="{mgdroot}/rcs/copytree/topics/?what=XXX&thisid={id}&sitegroup={sit
egroupid}" target="content" class="subtitle">Copy</a>

in

styles:/adminsite_template_en/view_XXX_top

>From now on you should have two additional links in a top menu of an
object. When clicked, a tree of objects within a SG will be drawn in a
frame below. A tree is collapsable (script copied from "Pick style"). If
you want to copy/move object to another place, just click appropriate
destination object in a tree.

As I commited this modification while being desperado loco I dont quite
remeber why I did what I did, so dont ask to complex questions :-)

Solt

PS. Big parts of a code are driven directly from Nadmin code
 

Attachment: movetree.php
Description: Binary data

Attachment: copy.php
Description: Binary data

Attachment: copytree.php
Description: Binary data

Attachment: move.php
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to