Jump to content


Copying a branch of the document tree


  • You cannot reply to this topic
2 replies to this topic

#1 mikef

    Loves Etomite Forums!

  • Member
  • PipPipPipPip
  • 1,551 posts

Posted 20 June 2006 - 01:40 PM

I'm going to need to copy branches of the document tree to other places (basically a template composed of maybe two or three pages with embedded snippets, which wuill need to be duplicated in other places for aech member of an organisation, or each time a new event is organised). Is anyone aware of any existing code to do that, which I can use as a base, please?

#2 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 20 June 2006 - 02:39 PM

Certainly sounds like a good idea :eto:

#3 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 20 June 2006 - 02:43 PM

I'm not aware of any such utility at present but it should be relatively simple to develop one based on a recursive menu snippet... The basics for passed parameters would be fromParent and toParent... Other frills could be added as needed... The trickiest part of the code is in making sure you keep track of the id of the current newest parent so that children will be created in the right place... I have a few ideas on how to go about the task is anyone is interested... :eto:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users