Module Clone

Tags: _admin _module


Description

Le module Clone (clone) permet de cloner un site existant.
Makes a copy of part of, or all of the current or a specified site. The current logged user (who invokes the clone action) becomes the owner (master administrator) of the specified site.

Documentation officielle

http://www.wikidot.com/doc:clone-module

Attributs

attribute required allowed values default description
source no text string,"." current site Specifies the site to clone. If not specified, clones the current site. If the source site is private, the user must be a member of the site.
button no text string "Clone this site" Specifies the text for a button link.

How it works

The Clone module creates a button that occupies a line by itself. Clicking on the button shows a pop-up that asks for a destination site (which may not exist). When the clone operation is complete, the Clone module takes the user directly to the destination site.

The clone has all the pages, attached files, and configuration of the original site, however:

  • It has only one member, the cloner, who is the new site's master admin
  • It is marked as private, even if the template was public

Sites, even public ones, are at present clonable by default. This will be switched for Pro users.

Exemples

[[module Clone]]
[[module Clone source="handbook" button="Cloner le handbook"]]
You should be logged in to clone a site.
You should be logged in to clone a site.

Bookmark and Share

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License