SitemapsYou can generate a 'site map' with ProPageManager™—a page that lists all the pages in the site.
To generate a site map:
- Be sure site maps are turned on in System Settings. See System Settings
You also set the filename of generated site map in System Settings.
- Set the checkbox "Include in Sitemap" on each page you want included in the sitemap. Actually,
this is set by default, so it's more accurate to say: unset the "Include in Sitemap" checkbox for
each page you don't want included in the sitemap.
ProPageManager™ lists the modules in alphabetical order. But you can force a different order
by using the sitemap Sort Keys—ProPageManager™ first sorts by sortkey (a number)
and then by Page Title.
SiteMap Style Classes
ProPageManager™ uses these style classes when it generates the sitemap:
ppm_sitemap_h1
ProPageManager™ uses this tag for MODULE NAMES, e.g.:
<h1 class='ppm_sitemap_h1'><a class='ppm_sitemap_h1'...>MODULE NAME</a></h1>
Note: ProPageManager™ uses the ppm_sitemap_h1 class both for the <h1> tag and for the <a> tag.
ppm_sitemap_h2
ProPageManager™ uses this tag for list/article/gallery CATEGORIES, e.g.
<h2 class='ppm_sitemap_h2'>CATEGORY</h1>
ppm_sitemap_ul
ProPageManager™ uses this tag to start a list of list/article/gallery ARTICLES, e.g.:
<ul class='ppm_sitemap_ul'>
ppm_sitemap_l1
ProPageManager™ uses this tag for EACH ARTICLE/ENTRY in a list/article/gallery, e.g.:
<li class='ppm_sitemap_li'><a class='ppm_sitemap_li'...>ARTICLE TITLE</a></li>
Note: ProPageManager™ uses the ppm_sitemap_li class both for the <li> tag and for the <a> tag.
Sample Stylesheet Entries
Basically ProPageManger uses classes which function like <h1>, <h2>, <ul> and <li> to control the formatting of the sitemap (namely 'ppm_sitemap_h1', 'ppm_sitemap_h2', 'ppm_sitemap_ul', and 'ppm_sitemap_li');
You can have your style sheet tell PPM to use the same formats for the sitemap as the existing h1, h2, ul and li by locating, for example, h1 in your style sheet and adding ppm_sitemap_h1 to the specification:
Before:
h1 { font-size:14pt; }
After:
h1, .ppm_sitemap_h1 {font-size: 14pt; }
Likewise for h2, ul and li.
Or you can have a completely independent set of specifications (you can copy and paste this fragment into an existing stylesheet):
.ppm_sitemap_h1 {
font-size: 14pt;
font-weight: bold;
}
.ppm_sitemap_h2 {
font-size: 13pt;
font-weight: bold;
}
.ppm_sitemap_ul {
font-size: 12pt;
}
.ppm_sitemap_li {
font-size: 12pt;
}
|