This is an old revision of CreatingaNewPage from 2010-06-18 14:11:53.
Creating a new page
Printable instructions here∞ [PDF | 94.1KB]
Many people like to browse CAF to access Advice and Guidance, existing Projects and the other categories featured on the site. However, you may wish to go one step further, and actually create your own page or pages to contribute to CAF. There are several ways to create a new page in the CBA CAF site (for all of these ways, please remember that you need to be logged in!):
1. Creating a new page from an existing page
The most common way to create a new page is to edit an existing page and insert somewhere in that page an internal link to the new page you want to create. You can edit a page by double-clicking on the main body of the page (if this is enabled), or by clicking the ‘edit page’ option at the bottom of the page.
You can create your internal link to your new page either by using the so-called CamelCase format (e.g. MyArchaeologyProject) or by [[forcing]] a link with double square-brackets (e.g. [[Suzie]]). Next, you save the existing page (clicking the ‘Store’ button at the bottom of the page). A link to the new page will be highlighted as a missing page. Clicking on this link will then open an editable version of the new page.
2. Creating a new page from the browser address field
To create a new page from your browser address field (the line at the top of your screen showing the web address of the page you are viewing), just type the name of the page (the same format as a user name) after the root URL. The root URL in this case is all of the information up to and including ‘wakka=’.
Hence, to create a new page on this site you just need to type NewPage in the browser address field after 'wakka=' (where 'NewPage' is the name of the page you want to create – in other words insert the name, in CamelCase, that you wish your new page to be called).
So, for example, the ‘Finds and Samples’ page, which is called FindsandSamples in CamelCase, would have the url http://www.britarch.ac.uk/caf/wikka.php?wakka=FindsAndSamples.
Remember that creating a page in this way leaves the page orphaned (not attached or linked to any other pages) until a link to it from an existing page is created. For this reason, the first method is often preferred.
3. Cloning a Template
An existing page can be cloned and given a new name, and the content then edited. For this purpose, we have created a ‘Template page’. For more information on how to use this method, see TemplatePages and follow the instructions, being sure to make a copy of the template page for adding your own material, rather than changing the Template page itself.
4. The newpage action
You can also use the following action to create and edit a new page. To do this, enter the title of the page you'd like to create (in CamelCase) in the newpage box below:
5. Important information for all new pages
However you decide to create your new page, you should ensure that your page is placed in the correct category (e.g. 'Projects', 'Events' etc). To do you should include
---- XXXXCategory at the very end of the page, where XXXX is replaced with 'Projects' or 'Events' etc. So for example, if you have created a Project page, type ----ProjectsCategory, which will become a link to the Projects Category menu page.
6. Adding a Region
If you are adding a project page, or any other information that has relevance to a particular county or region, you may wish to link your page to a region category. You may wish to link your project page to more than one region if this is relevant, so please feel free to do so if this is the case. In order to link to the right region take the following steps:
1. Take a look at the RegionsCategory, and then at the country (e.g. RegionsEngland) to see how your county or region is listed. This is the way in which you will need to write your county or region.
2. Click onto the ‘edit page’ option for your county and add your project’s name to the list.
3. If your project consists of more than one word you can write it in CamelCase (the way in which it appears at the end of the url – see part 2 of this section). If it is a one word project name, for example, ‘Brislington’, you will need to force the link by use of square brackets. Either way, you should include the ‘----‘ instruction in order to insert a line break. Hence, at the bottom of your page you should write:
----ProjectName (where ‘ProjectName’ = project name of more than one word)
----[[Project]] (where ‘Project' = project name of only one word).
4. Unlike many of the other categories in CAF, the link will not be made automatically between the project page and the regions menu, so now you will need to link your project back to the region. Go to your project page and click the ‘edit page’ option.
5. Now go to the bottom of your project page and add your region, bearing in mind whether you will need to force a link or not. For example, adding a project page to HampshireAndTheIsleOfWight, using more than one word in its title, will require you to write at the bottom of your page:
However, if your region or county has only one word, for example Powys, you’d need to remember to force the link, hence:
6. NB if your county or region does not yet have any other projects listed, please contact firstname.lastname@example.org∞ for assistance as we will need to make some minor changes to the page.
We will occasionally 'tidy' the site to make sure everything stays organised, so don't worry too much if you forget to link your page.
| CBA, St Mary's House, 66 Bootham, York YO30 7BZ.
tel: +(44) (0)1904 671417 | fax: +(44) (0)1904 671384 | email: