LG Add Sitename Add images, css and text to your ExpressionEngine sites administration
Download LG Add Sitename v1.2.0 Table of contentsKeeping LG Add Sitename up-to date
Did you know that LG Add Sitename is MSM compatible and plays well with LG Addon Updater?
LG Addon Updater is a recommended download which will notify you when LG add sitename is updated.
Features
LG Add Sitename is a simple ExpressionEngine 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. UTC and user localised time can also be displayed in the header which will help with debugging timezones.
The extension comes with default settings that adds a light grey piece of text with the site's name to the ExpressionEngine administration header.
LG Add Sitename is Multi-site Manager compatible and will notify site administrators when an update is available if LG Addon Updater is installed.
Screenshots
Requirements
LG Sitename requires ExpressionEngine 1.6+. Update notifications will only be displayed if LG Addon Updater is installed.
Installation
The LG Add Sitename extension contains an extension and language file. To install LG Add Sitename follow the instructions below:
- Download the latest version of LG Add Sitename
- Extract the .zip file to your desktop
- Copy extensions/ext.lg_add_sitename.php file to your /system/extensions directory
- Copy the language/english/lang.lg_add_sitename.php file to your /system/languages/english directory
- Open the Extension Manager
- Enable Extensions if not already enabled
- Enable the extension
- Configure the extension settings
Configuration
LG Add Sitename has the following extension settings which need to be entered separately for each Multi-Site Manager site:
- Enable
- The CSS
- The XHTML
- Enable Super Replacements?
- Show Time?
- Enable CP admin page title replacements?
- Replace 'ExpressionEngine' with
- Check For Updates?
Enable LG Add Sitename extension for this site? [required]
Yes|No
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;
}
#server-time{padding-bottom:9px}
/* Float the EE link left */
div.helpLinksLeft p{color:#fff;}
div.helpLinksLeft a { padding-top: 7px; display: block; float: left; }
The CSS is added to the <head> of the page.
The XHTML [required]
leevigraham.com
The XHTML is inserted into the top left of the CP
Enable Super Replacements? [required]
By default the following tags will be replaced in the XHTML by ExpressionEngine site values:
leevigraham.com{site_description}http://leevigraham.com/
However if "Super Replacements" is enabled the following tabs are also replaced:
{enable_image_resizing}{image_resize_protocol}{image_library_path}{thumbnail_prefix}{word_separator}{use_category_name}{reserved_category_word}{auto_convert_high_ascii}{new_posts_clear_caches}{auto_assign_cat_parents}{site_404}{save_tmpl_revisions}{max_tmpl_revisions}{save_tmpl_files}{tmpl_file_basepath}{un_min_len}{pw_min_len}{allow_member_registration}{allow_member_localization}{req_mbr_activation}{new_member_notification}{mbr_notification_emails}{require_terms_of_service}{use_membership_captcha}{default_member_group}{profile_trigger}{member_theme}{enable_avatars}{allow_avatar_uploads}{avatar_url}{avatar_path}{avatar_max_width}{avatar_max_height}{avatar_max_kb}{enable_photos}{photo_url}{photo_path}{photo_max_width}{photo_max_height}{photo_max_kb}{allow_signatures}{sig_maxlength}{sig_allow_img_hotlink}{sig_allow_img_upload}{sig_img_url}{sig_img_path}{sig_img_max_width}{sig_img_max_height}{sig_img_max_kb}{prv_msg_upload_path}{prv_msg_max_attachments}{prv_msg_attach_maxsize}{prv_msg_attach_total}{prv_msg_html_format}{prv_msg_auto_links}{prv_msg_max_chars}{memberlist_order_by}{memberlist_sort_order}{memberlist_row_limit}{mailinglist_enabled}{mailinglist_notify}{mailinglist_notify_emails}{encryption_type}{site_index}{site_name}{site_url}{theme_folder_url}{webmaster_email}{webmaster_name}{weblog_nomenclature}{max_caches}{captcha_url}{captcha_path}{captcha_font}{captcha_rand}{captcha_require_members}{enable_db_caching}{enable_sql_caching}{force_query_string}{show_queries}{template_debugging}{include_seconds}{cookie_domain}{cookie_path}{user_session_type}{admin_session_type}{allow_username_change}{allow_multi_logins}{password_lockout}{password_lockout_interval}{require_ip_for_login}{require_ip_for_posting}{allow_multi_emails}{require_secure_passwords}{allow_dictionary_pw}{name_of_dictionary_file}{xss_clean_uploads}{redirect_method}{deft_lang}{xml_lang}{charset}{send_headers}{gzip_output}{log_referrers}{max_referrers}{time_format}{server_timezone}{server_offset}{daylight_savings}{default_site_timezone}{default_site_dst}{honor_entry_dst}{mail_protocol}{smtp_server}{smtp_username}{smtp_password}{email_debug}{email_charset}{email_batchmode}{email_batch_size}{mail_format}{word_wrap}{email_console_timelock}{log_email_console_msgs}{cp_theme}{email_module_captchas}{log_search_terms}{secure_forms}{deny_duplicate_data}{redirect_submitted_links}{enable_censoring}{censored_words}{censor_replacement}{banned_ips}{banned_emails}{banned_usernames}{banned_screen_names}{ban_action}{ban_message}{ban_destination}{enable_emoticons}{emoticon_path}{recount_batch_total}{remap_pm_urls}{remap_pm_dest}{new_version_check}{publish_tab_behavior}{sites_tab_behavior}{enable_throttling}{banish_masked_ips}{max_page_loads}{time_interval}{lockout_time}{banishment_type}{banishment_url}{banishment_message}{enable_search_log}{max_logged_searches}{theme_folder_path}{is_site_on}{app_version}{license_number}{debug}{install_lock}{db_hostname}{db_username}{db_password}{db_name}{db_type}{db_prefix}{db_conntype}{system_folder}{cp_url}{doc_url}{cookie_prefix}{is_system_on}{allow_extensions}{multiple_sites_enabled}{site_pages}{site_id}{site_label}{site_description}{site_short_name}
Show Time? [required]
Yes|No
Times will be displayed in the header in the following format:
Server Time: Fri Aug 22 15:07:45 EST 2008
EE UTC Time: Fri Aug 22 5:07:45 UTC 2008
PHP UTC Time: Fri Aug 22 5:07:45 UTC 2008
Localised Time: Fri Aug 22 15:07:45 2008
Localised EE Human Time: 2008-08-22 03:07 PM
These times are really helpful when trying to debug server, user and localisation issues. This feature is more of a present to ExpressionEngine extension developers more than anything else.
Enable CP admin page title replacements? [required]
Yes|No
The title meta tag will be replaced with an alternative string.
Replace 'ExpressionEngine' with...
leevigraham.com
The string which is used if "Enable CP admin page title replacements?" is enabled.
Check for updates?
Yes|No
LG Add Sitename can call home and check for recent extension updates. This feature requires LG Addon Updater.
Change Log
1.2.0
- Added Multi-Site manager compatibility
- Integrated LG Addon Updater
- Added page title replacements
- Added super {ee_tag} replacements
- Added 'Show Time' option
1.1.0
- Changed method names to follow new internal coding standards
- Source code commenting in PHPDoc syntax
- Added Slovak language file
1.0.1
- Small bug fix
1.0.0
- Initial Release
License
LG Add Sitename is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Contributors
Make a donation and get your website listed.
Page created on: Oct 21, 2007
Last updated on: Aug 22, 2008
Enjoy LG Add Sitename v1.2.0? Bookmark and share it with others.