A VWcms synopsis is a listing of site sections (pages) showing the title and an extract from the beginning of the section content.
There are four levels of synopsis
| 1 |
Lists the entire site (limited by parameters described below). |
| 0 |
Lists everything at the directive level used. So an <H1> will synopsise all <H1>s. An <H2> will synposise all <H2>s until the next <H1> is encountered. Likewise, an <H3> will synopsise all <H3>s until the next <H2> or <H1> is encountered. |
| -1 |
Lists all immediate subordinate levels until the next peer level is encountered. So an <H1> will synposise all <H2> until the next <H1>, a <H2> all <H3>s until the next <H2>, while an <H3> will synopsise nothing. |
| -2 |
Will synopsise the subordinate of all immediate subordinates. In other words it only applies to <H1>s. A -2 will list all <H3>s until the next <H1> is encountered. |
Parameters
The parameters are specified using the following keywords.
| Parameter |
Description |
| empty= |
Optional message if synopsis is empty. |
| extract= |
The length of the synopsis (number of characters). Values from 64 to 1023 are allowed. |
| level= |
1, 0, -1, -2 (see above)
|
| list= |
The maximum number of items in the synopsis. |
| narrow |
Collapses the layout of the synopsis/blog listing intended for narrow columns. |
| order= |
"+" list is ascending date order (less recent at beginning) and "-" in descending order (more recent at beginning). |
| read= |
The text or icon used in the link to the synopsised section.
|
| since= |
Lists only those section modified since the specified date or specified (negative) number of days, or "*" for all.
|
| text= |
A formal synopsis (see below). A formal synopsis may contain a maximum of 2048 characters.
|
Example 1
This example displays a synopsis of the rest of the sections at the same level as this one (second).
$$SYNOPSIS$level=0$$
| Blogging
|
| RSS Feed
|
| Tagging
|
| Icons
|
| Conditional Content
|
| Reserved Sections
|
Example 2
This example displays a synopsis of the subordinate sections of this one, this time with a maximum 512 character extract.
$$SYNOPSIS$level=-1$extract=512$$
| Example One
|
| Example Two
|
| Example Three
|
| Formal Example
|
Change Synopsis
This example displays a synopsis the five most recently modified sections from the full site.
$$SYNOPSIS$level=1$order=-$list=5$since=*$$
| Q&ASunday, 24 July 2011 22:40 (nearly 2 years ago)
|
| Using Q&ASunday, 24 July 2011 22:22 (nearly 2 years ago)
|
| Spam AbuseSunday, 24 July 2011 11:11 (nearly 2 years ago)
|
| Reader CommentSunday, 24 July 2011 07:48 (nearly 2 years ago)
|
| Using reCAPTCHAWednesday, 20 July 2011 21:46 (nearly 2 years ago)
|
Blog Synopsis
A blog listing is just a special case of site synopsis. Different defaults but all the synopsis parameters are available to blog listings.
Formal Synopsis
By default a synopsis is performed by extracting the leading text of any section. It is also possible to provide a formal synopsis that is used when presenting a list of synopses as well as being shown at the top of the section when accessed.
$$SYNOPSIS$text=This is an example of a formal synopsis. It is used in the listing as well as presented in the section.$$
See Formal Example for how it can be rendered.
![print this and sub-pages [PRINT]](/_vdub/print_plus.png)