EE 1
EE 2
Blog Info

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.1.1

License Agreement

Buy Now!

$10.00
Qty:

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

The purpose of this plugin is to output info about certain channels/weblogs. Using this plugin it is possible to ouput short name, title, descrition, URL, language and encoding of certain channels/weblogs.

PARAMETERS:

1) blog_id - Optional. Allows you to specify channel/weblog ID number. You also can specify
up to 50 weblog ID numbers using parameters blog_id_1, blog_id_2, blog_id_3 ...
blog_id_48, blog_id_49, blog_id_50.

2) blog_name - Optional. Allows you to specify short name of the channel/weblog. You also can specify
up to 50 weblog short name using parameters blog_name_1, blog_name_2, blog_name_3 ...
blog_name_48, blog_name_49, blog_name_50.

Either parameter “blog_id” or parameter “blog_name” must be defined

3) site - Optional. Allows you to specify site id number. Default value is “1”.

4) invalid_input - Optional. Accepts two values: “alert” and “silence”.
Default value is “silence”. If the value is “alert”, then in cases when
the plugin has some problem with parameters,  PHP alert is being shown;
if the value is “silence”, then in cases when the plugin has
some problem with parameters, it finishes its work without any alert being shown.
Set this parameter to “alert” for development, and to “silence” - for deployment.

VARIABLES:

1) blog_info_id - channel/weblog ID number.

2) blog_info_name - short name of the channel/weblog.

3) blog_info_title - displays the content from the “Full Channel/Weblog Name” setting.

4) blog_info_url - displays the content from the “Channel/Weblog URL” setting.

5) blog_info_description - displays the content from the “Channel/Weblog Description” field in CP.

6) blog_info_lang - displays the content from the “XML Language” setting.

7) blog_info_encoding - displays the content from the “XML Character Encoding” setting (for EE1.x only).

Conditionals are supported.

EXAMPLE OF USAGE:

{exp:blog_info blog_name="my_blog" site="1"}
Channel id: {blog_info_id}<br>
Channel short name: {blog_info_name}<br>
Channel title: {blog_info_title}<br>
Channel URL: {blog_info_url}<br>
Channel description: {blog_info_description}<br>
Channel language: {blog_info_lang}<br>
{/exp:blog_info}

Blog Info Links

This entry was created November 18, 2009, 8:15 pm.
This entry was last updated August 28, 2011, 10:32 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!