Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.58 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.58 KB

#EasyCopyright#

##About##

EasyCopyright is a simple snippet for ModX Revolution that inserts the the current year and the site name. Check the example below.

© +CameronGilroy.com+ 2009-2011 - Powered by +MODx+

###Thanks###

A big thank you goes to the creators of MODx Revolution!
dflock: Thanks for the new features added to 1.1!

###Usage###

[[!EasyCopyright]] - Outputs © [[Your Site name here]] 2011 - Powered by MODx
[[!EasyCopyright? &StartYear=2009]] - Outputs © [[Your Site name here]] 2009-2011 - Powered by MODx

##Configuration##

The variables that are available are listed below with a description. You can also call the contents of a chunk into any of these fields like this [[!EasyCopyright? &Powered=[[$Your_Chunk_Name]]]]

  • Name - Your site name
  • Start Year - What ever you put in!
  • Powered - is the link to the ModX site
  • YearSeparator - is the separator that goes between the Start Year and the current year
  • PoweredBySeparator - is the separator that goes between the current Year and Powered by

###Defaults###

  • Name - Your site name
  • Start Year - No Default must be called in the snippet
  • Powered - is the link to the ModX site
  • YearSeparator - "-"
  • PoweredBySeparator - "-"