HumHub template space for each chapter or project
A federation with forty local groups, or a team that starts a project every month, wants every new space to look the same on day one. HumHub has no space templates of its own; the Cloner module copies a model space, its settings, its modules and its content, into a new one.
What you get
- A new chapter or project space in one form: name it, and it opens with the same modules, settings, wiki pages, posts and events as the model.
- Optionally, the model's members (the national team, the coordinators) in every copy.
- Optionally, the content of a central space copied into every chapter every hour, such as the national office's guidelines.
- A single post, page or event copied to another space from its menu.
The modules
| Module | Role | Where it comes from |
|---|---|---|
| Cloner | Clones a space, syncs content between spaces, clones one item | CUZY |
| Classified Spaces | Puts the chapters in categories (regions, themes) | CUZY |
| Groups Associated with Space Categories | Adds a region's group to every space of that region | CUZY |
| RESTful API | Needed only to sync content from another HumHub community | Free, HumHub |
What is copied
| Copied | Not copied | |
|---|---|---|
| The space | Its settings and its enabled modules; the members if you tick Preserve members | |
| Content | Posts, wiki pages, calendar events, polls, surveys and custom pages, with their text and attached files | Comments, likes, reactions |
| Content attributes | Visibility, archived, pinned, comments locked | |
| Later changes | A change in the model after the copy |
The clone's content belongs to the person who made the clone.
The steps, in order
1. Build the model space {#model}
Create a space named "Template: chapter" with the visibility Private (Invisible), so that members never stumble on it. Enable the modules every chapter uses, set its permissions and its homepage, and write the content a new chapter needs: a wiki home page with the chapter's first steps, a pinned welcome post, the recurring coordinators' meeting in the calendar, a contact survey. Write it for the chapter, not for the model: "Welcome to your chapter's space", not "Template".
Leave out anything personal: the model's content is copied under the name of whoever clones it.
2. Enable space cloning {#enable}
Enable Cloner, then open its configuration (Administration → Modules, Cloner, Configure) and tick Enable Space cloning. The configuration also chooses the content types that can be cloned and whether a single content may be cloned to another space (Allow cloning a single Content to another Space).
3. Clone for each new chapter {#clone}
Administrators who may manage spaces now find Clone Space in Administration → Spaces. Choose the Source Space (the model), type the Name of the new Space, tick Preserve members if the model's members must follow, and start. The cloning runs in the background queue; the new space appears within minutes. Then make the chapter's coordinator an administrator of it and invite its members.
If the chapters are sorted by region with Classified Spaces, put the new space in its category; with Groups Associated with Space Categories, the region's group then joins it by itself (modules that extend groups).
4. Keep shared content in step, if you need to {#sync}
For content that must stay the same in every chapter, such as the federation's guidelines, Cloner syncs content between spaces. It is configured in the destination space, in Cloner's space settings: choose the source space, the dates (Clone only content created on or after, on or before), whether to Clone attached files, and Clone content automatically every hour. The source can be another HumHub community, through its RESTful API and a Cloner Key copied from its Cloner configuration.
Syncing copies new content; it does not update what was already copied.
5. Copy one item {#single}
For a one-off (this year's assembly event, a new procedure), open the menu of the post, page or event, choose the clone entry and the target space. Clone as draft creates it visible only to you until you publish it, and Preserve creation date keeps the original date.
Pitfalls
- Copies do not follow the model. Fix the model, and the forty existing chapters keep the old version. Keep text that changes often in one central space and link to it, or sync it (step 4).
- The model shows up in lists. A visible model space appears in the spaces directory, and in the search. Keep it Private (Invisible) and leave it out of the default spaces.
- Preserve members adds people silently. Everyone in the model becomes a member of every copy. Keep the model's members to the few people who need every chapter.
- The target needs the module. A wiki page cannot be cloned into a space without the Wiki: when you clone a single item, enable the module in the target space first.
- Custom pages of a space are copied when cloning a space of the same community only.
On a CUZY hosted community
Cloner, Classified Spaces and Groups Associated with Space Categories are CUZY modules: included on the Business plan and during the trial, and bought at 50% off on the Team plan (CUZY modules). The RESTful API installs from the marketplace on every plan (marketplace modules). Before cloning forty chapters, a Business plan community can rehearse on its testing instance. Compare the plans or try it free.
Read next
- Which HumHub modules to install, by need
- HumHub onboarding space for new members or employees
- HumHub events with registration, map and paid tickets
- A searchable member directory in HumHub
- Build a knowledge base in HumHub: wiki, pages, files
- HumHub announcements and newsletters to every member
- Member questions and support tickets in HumHub
- Cloner module: features and price
- Classified Spaces module: features and price
- Groups Associated with Space Categories module: features and price
- New versions of the modules by email: the CUZY newsletter, a few times a year