Avatar of Leevi Graham

LG Add Sitename Add images, css and text to your ExpressionEngine sites administration

Download LG Add Sitename v1.1.0 Table of contents

Features

LG Add Sitename is a simple extension inspired by Ryan Masugas Add Sitename Extension.

This extension allows you to add any html and css to the ExpressionEngine administration header including images, flash or any other html element.

The extension comes with default settings that adds a light grey piece of text with the sites name to the ExpressionEngine administration header.

Screenshots

Requirements

LG Add Sitename is an ExpressionEngine Extension requiring ExpressionEngine 1.6.0 or greater.

Installation

The LG Add Sitename extension contains an extension folder and a language file. To install the module follow the instructions below:

  1. Download the latest version of the extension
  2. Extract the .zip file to your desktop
  3. Copy the extensions/ext.lg_add_sitename.php directory to your /system/extensions directory
  4. Copy the language/english/lang.lg_add_sitename.php file to your /system/languages/english directory

Activation

This extension has no special activation requirements. To activate:

  1. Log in to your sites administration
  2. Open the Extensions Manager
  3. Enable Extensions if not already enabled
  4. Enable the extension

Configuration

The LG Add Sitename extension includes two settings.

The XHTML [required]
<div id='cp_sitename'>leevigraham.com</div>

The XHTML is added to the left of the existing ExpressionEngine link (top left of the ExpressionEngine administration).

The XHTML setting has one special variable leevigraham.com which is replaced by the name of the current site.

The CSS [required]
#cp_sitename{
  border-right:1px solid #3D525F;
  color:#dadada;
  font-size:14px;
  float:left;
  padding:2px 10px 2px 0;
  margin:2px 10px 0 0;
}
/* Float the EE link left */
div.helpLinksLeft a { padding-top: 7px; display: block; float: left; }"

The CSS is added to the <head> of the page.

Change Log

1.0.0

  • Initial Release

1.0.1

  • Small bug fix

1.1.0

  • Changed method names to follow new internal coding standards
  • Source code commenting in PHPDoc syntax
  • Added Slovak language file

License

Creative Commons License LG Add Sitename is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.