Copyright

Compatibility

  • ExpressionEngine Version 1.6.x (1.x.x releases), ExpressionEngine Version 2.0.x (2.x.x releases).
  • PHP 5.x

License

Copyright is free for personal and commercial use.

If you use it commercially use a donation of $5 is suggested. You can send donations here.

Copyright is licensed under a Open Source Initiative - BSD License license.

Installation

For EE 1.6.x the file pi.copyright.php must be placed in the /system/plugins/ folder in your ExpressionEngine installation.

For EE 2.0.0 the copyright folder must be placed in the /system/expressionengine/third_party/ folder in your ExpressionEngine installation.

Name

Copyright

Synopsis

Shows a copyright notice in ExpressionEngine Templates

Description

The plugin returns a string for displaying a copyright notice in ExpressionEngine templates

{exp:copyright:show}

Gives © 2009

Parameters

Start Year

start_year="2009"

Sets the start date. Default - current year

End Year

end_year="2009"

Sets the end date. Default - current year

Delimiter

delimiter=""

Sets the delimiter between two years. Default - the ”–” symbol

copyright_symbol=""

Sets the copyright symbol. Default - the ”©” symbol

Examples

{exp:copyright:show}

Outputs a copyright symbol and current year. e.g. © 2009

{exp:copyright:show start_year="2007"}

Outputs a copyright symbol starting from the start year up to the current year. e.g. © 2007–2009

{exp:copyright:show start_year="2007" end_year="2014"}

Outputs a copyright symbol starting from the start year up to the given end year. e.g. © 2007–2014

{exp:copyright:show copyright_symbol="anything"}

Changes the copyright symbol to anything you set. e.g. anything 2009

{exp:copyright:show delimiter=" to " start_year="2005"}	

Changes the delimiter to anything you set. e.g. 2005 to 2009

You can open a ticket over at Lighthouse. As this is free software the response time can vary.

# Ticket Milestone Created at Updated at Status

Comments

blog comments powered by Disqus

Donations

Most of my software is free but I still need to eat and keep the wife happy.

If you use any software commercially please consider giving a donation.

Make a donation via PayPal