#EasyCopyright#
##About##
- By Cameron Gilroy / fork by eydolan to make it work in modx 3 and php 8
- EasyCopyright
- Version: 1.1.2
- Based in part on Copyright by AMDbuilder
- Creator: Cameron Gilroy http://www.camerongilroy.com
- Support URL: http://www.camerongilroy.com/
- GitHub: http://github.com/CameronGilroy/EasyCopyright
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=
- Outputs © [[Your Site name here]] 2009-2011 - Powered by MODx2009
]]
##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 - "-"