Skip to content

A Snippet for ModX Revolution that displays the copyright year and site name.

Notifications You must be signed in to change notification settings

eydolan/EasyCopyright

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

#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 - "-"

About

A Snippet for ModX Revolution that displays the copyright year and site name.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%