Sitemap Content Blocks

The sitemap content block will output the sitemap for your website.  If used correctly, the settings you specify for showing or hiding web pages and web sections on the sitemap will be reflected when using the Sitemap content block.

Here is a screen shot of selecting the Sitemap content block type:
Site Avenger Screen Shot - Sitemap Block Options

Sitemap Block Settings

Default Element: sitemap.ctp

SettingDefaultValueNotes
class sitemap

any string will be placed in class attribute

to disable, specify false or an empty string ''

<div class="sitemap">
id null any string: string will become the id of the div  
style conditional

any valid CSS style string

to disable, set to false or an empty string ''

If an id is explicitly set, the default style is null

Otherwise, if the block is positioned in the bottom block position, the default style is 'float: left; width: 100%' to accomodate legacy environments

divhide false

boolean

Setting divhide to true will prevent the sitemap UL from being wrapped in a div

showhome true

boolean

This setting controls whether or not the section homepage is displayed as a sub-link of its section

If true, there will be two links to the section homepage: 1 via the section link, 1 via the web page link.  Sometimes this is confusing, sometimes it's the desired effect.

1-207-221-3255 | Contact Site Avenger - Your Content Management Superhero

Copyright © 2023 Saco Design, Inc. | All Rights Reserved | Website Design by Saco Design | Superpowered by Site Avenger