Lesson 2.2: One item in several places: locations
An item can appear in more than one place of the tree without being copied: the same article in News and in Projects, one text, two places. Each place is a location (in the item's numbers, a node). This lesson teaches adding, reading and removing locations.
At a glance
| Course | Editors 201 |
| Module | Module 2: Relations, locations and embedding |
| Duration | 45 minutes (15 presenting, 30 exercise) |
| Level | Intermediate |
| Audience | Editors who organize content |
| Prerequisites | Lesson 2.1 |
Learning objectives
After this lesson, learners can:
- explain the difference between a copy and a second location;
- add a location with Add locations on the Locations tab or Add a location in a Sub items list;
- read the Locations tab (Location, Sub items, Main) and change the main location with Set main;
- hide one location and remove a location with Remove selected without removing the item.
Trainer's notes
How to present it
Sources: Many items at once, Remove and restore and Copying, locations and how selections are shown.
- Object and node (3 minutes). Recall Editors 101: an item's Object number belongs to the item, its Node number to one place. A second location gives the same object a second node. Editing the item changes it in every place; a copy would be a separate item.
- Adding (3 minutes). On the Locations tab, Add locations opens a browser to choose one or more new parents. In a Sub items list, tick items and choose More actions > Add a location.
- The tab (4 minutes). Locations (n) lists each place with its path (Location), its number of Sub items and which one is Main. Buttons: Hide, Remove selected, Add locations, Set main. The main location is the one used for the item's main address and, usually, its section.
- Removing a location (3 minutes). Removing one location keeps the item in its other places; it goes to the trash only when its last location is removed.
- Visibility per location (2 minutes). A location can be hidden on its own. In the edit form's Locations window, Visibility after publishing starts at Unchanged for existing locations, so publishing does not reveal a hidden location.
Common questions
When should I use a second location instead of a link? When the item should be listed in both places, for example in two menus or two lists. A link only points; a location makes the item a sub item of the second place.
Which address does the item get? Each location has its own address; the main location gives the item's main address.
Are sub items of the item also in the second place? Yes: the item's own sub items appear below each of its locations.
Pitfalls
- Removing the wrong location. Remove selected on the Locations tab removes only the ticked places. Read the paths.
- Expecting a copy. Learners edit the item "in the second place" and are surprised the first changed too. Show it on purpose.
- Permissions. Adding a location needs permission to create in the new parent.
Hands-on exercise
Use the training installation and your course folder.
- In your course folder, create a subfolder
Projectsand publish it. - Open your article Our team (lesson 2.1) and its Locations tab. Write down its one location.
- Press Add locations, choose
Projectsin the browser and confirm. - Read the Locations tab again: two locations, one marked Main. Write down both node numbers (open each location's path to see its node).
- Open
Projectsand find Our team in its Sub items. - Edit Our team from
Projects, change its title toOur team, two placesand publish. Check its title in the course folder. - On the Locations tab, select the location in
Projectsand press Set main. - Tick the location in your course folder and press Hide. Check on the site that the article is still reachable
through
Projects. - Unhide it (item menu > Advanced > Hide / unhide on that location, or as the trainer shows).
- Tick the location in
Projectsand press Remove selected; confirm. The article is still in your course folder and not in the trash.
Expected result
- Our team, two places was visible in both folders with one text, then lost the
Projectslocation in step 10. - After step 7 the main location was in
Projects; after step 10 the remaining location is the main one. - The trash does not contain the article.
- The trainer checks by opening one learner's Locations tab on the projector.

Quiz
- What is the difference between a copy and a second location?
- Name the four buttons of the Locations tab.
- You remove one of an item's two locations. Where does the item go? A. To the trash B. Nowhere, it stays in its other location C. It is deleted D. It becomes hidden
- What is the main location used for?
- You edit an item through its second location. What changes in the first?
Answers
- A copy is a separate item; a location is another place of the same item.
- Hide, Remove selected, Add locations, Set main.
- B. It goes to the trash only when its last location is removed (Publishing, versions and the trash).
- The item's main address and, usually, its section.
- The same change: it is one item.
Further reading
- Creating and editing content: Add a location in lists.
- The content model and editing content: copying and the Locations window.
- Sections: what locations do to sections.
Related pages
- Module 2: Relations, locations and embedding
- Editors 201: course overview
- Trainers: start here
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.