|
|
Indexes |
You may display an index of articles, events or resources on any page.
For example, it is common for the home page of a site to have an index of all the new information available to visitors.
Also, each chapter within a site may have a default page that displays an index of articles within that chapter.
There are default news, calendar and event indexes available to all sites, or you may customise an index for your own requirements.
For example, you may set preferences to show an index of all articles up to a maximum of 7 that have been published in the last week, with a thumbnail image and the first 100 characters as a synopisis, in three columns.
Or you may set an index to show the most recent three resources added in each category.
Or to show all the events that are to take place in the next 30 days, with a small calendar.
Creating a new Index is a three step process
1) Select the preferences for your index.
2) Create a snippet nominating which Chapter you wish to index.
3) Add that snippet to the template of the page on which you want it displayed.
| Setting Index Preferences |
If you choose to define your own index preferences, you can access the Index Editor from the main Site Manager page.
Scroll down the page to the Section marked Index Editor.
Select New in either News, Calendar or Resources,and Click 'Edit Index'.
Give your set of preferences a name, and select your preferences.
Click Save.
This set of preferences can be set as the default index that is used in your site.
| Creating an Index Snippet |
To create an actual Index Snippet using your new preferences, again go to the main Site Manager page.
Scroll down to the section marked Edit Snippets. Select from the pop up menu next to 'Create New Snip of Type' either a News Index (or Cal Ix or Res Ix).
Give your Snip a name, enter a Headline if you want one displayed on the page (eg What's New), select the name of the preferences set you created in Step One.
In a News Index, select the chapter you want the articles selected from, and select 'include kids' if you want any subchapters to also be included.
Click 'Save Snippet'.
| Adding to the page template |
This is described elsewhere.
In brief, go to the page that you want to add the index to.
Clcik the top hot spot to edit that page.
Scroll to the bottom and click the button marked Edit Page Template.
Scroll down the template to the area in which you want to add the Snippet - ususally the Body.
In the left hand column (snippets), in the first blank pop up menu, select the Snippet that you created in Step 2.
Scroll down and click 'Save Page Template'.
|
|
|
|