Integrate copy action in more modules.

jeroendesloovere's Avatar


13 Sep, 2012 02:54 PM

Pages has the copy method,
f.e.: visit private/nl/module/copy?from=nl&to=fr to create a duplicate for all nl pages to fr pages.

I would like to see a copy method in more modules, f.e. in:

  • Location module

  • Content_blocks module

  • Other custom modules

Maby we should create copying methods...


// init data

$data = array('user_id' => 1, 'hidden' => 'Y');

// copy all items in table

BackendModel::copy($tableName, $from, $to, $data);

The copy function should check if the field 'language' exists in the table.

  1. Support Staff 1 Posted by tijs on 11 Mar, 2013 07:11 PM

    tijs's Avatar
  2. tijs closed this discussion on 11 Mar, 2013 07:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac