Skip to content

Configurable node types#4

Open
ShadowCross wants to merge 4 commits intotraedamatic:masterfrom
ShadowCross:206d6222f68130b56f746daee353c834ef270a6c
Open

Configurable node types#4
ShadowCross wants to merge 4 commits intotraedamatic:masterfrom
ShadowCross:206d6222f68130b56f746daee353c834ef270a6c

Conversation

@ShadowCross
Copy link

This commit includes the following:

  1. Allow user to configure which node types to include in the Sitemap via the admin Settings (Extensions > Sitemap > Options. The settings value is a comma-separated list of Content types (using the "alias"). When setting up several Croogo-based websites, I created new Content types so that the non-tech-savvy administrators can easily enable/disable parts of special lists (i.e. staff/board member lists, testimonials, etc.) which I didn't want to include as separate entries in the Sitemap.
  2. Minor change for compatibility with the current 1.3 branch of Croogo. When deactivating the plugin, use the new hook system/method.

@ShadowCross
Copy link
Author

Sorry, I forgot to update the label on the Extensions > Sitemap > Options page. In addition, a subsequent commit adds a configurable sort order -- the value can be

  • Node.id (sorted in the order the nodes were saved)
  • Node.lft (sorted in "tree" order)
  • Node.title (sorted alphabetically)

and can have " DESC" at the end of the value to reverse the order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant