Skip to content

ccraig/ls-module-sitemap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ls-module-sitemap

Adds a sitemap feature for your LemonStand store

Installation

  1. Download Sitemap
  2. Create a folder named sitemap in the modules directory.
  3. Extract all files into the modules/sitemap directory (modules/sitemap/readme.md should exist).
  4. Login to the admin area of your store to complete the installation.
  5. Done!

Alternatively, you can get the Sitemap module on the LS Marketplace. Add it to your license and update your store, the module will be installed with the update.

Usage

Setup the sitemap in the System/Settings area. From there you can choose which CMS pages to include on the sitemap as well as whether or not to include individual category pages, product pages and blog posts. The sitemap is generated using the Sitemap protocol and can be accessed in your root directory (i.e. www.mystore.com/sitemap.xml or www.mystore.com/ls_sitemap).

Dependencies

The module requires the CMS Themes feature. If you are installing the Sitemap module manually, please ensure you have version 1.3.0 of the CMS module or later.

Events

Module provides three events that you can use to extend it:

  • sitemap:onGenerateSitemap Called when sitemap is generated. Handler receives Sitemap_Generator object and current Sitemap_Params

  • sitemap:onInitSitemapParamsData Called to provide default parameter values Handler receives Sitemap_Params object

  • sitemap:onExtendSitemapParamsModel Called when Sitemap_Params model form is generated. Handler receives Sitemap_Params object

About

Provides a sitemap for your LemonStand store.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.8%
  • HTML 12.2%