New Entries Info

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.0.2

License Agreement

Buy Now!

$10.00
Qty:

EE Version Support

  • ExpressionEngine 1.x

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)

Extension

Tags

This extension displays in Control Panel's home page a panel containing info about recently submitted/updated entries. Info about new entries can conain, according your settings, entry title, number of comments, edit entry link, view entry link, author name, updater name, posting date, latest update date, status, categories, and weblog.

Installation

1) upload the file ext.new_entries_info.php into system/extensions folder on the server.

2) upload the file lang.new_entries_info.php into system/language/english folder on the server.

3) go CP Home >  Admin >  Utilities >  Extensions Manager find extension in the list and click “Enable”.

4) go CP Home >  My Account >  Customize Control Panel Homepage, find in the list of CP Home page panels the panel “New Entries Info”, select left or right option and click “Update”.

5) After that you will land in “Set Display Order” page. Enter order number and click “Update”.

6) go CP Home >  Admin >  Utilities ›  Extensions Manager >  New Entries Info 1.0 and set the settings as you prefer.

Settings

1) Date format to display the posting/edit dates in New Entries Info panel. Default value is %Y-%m-%d %h:%i %A

2) Max number of entries to display in New Entries Info panel. Default value is 10.

3) Number of days submitted/updated entries should be considered “new”. Default value is 14.

4) Display comments number in New Entries Info panel? Default value “yes”.

5) Display “View entry” link in New Entries Info panel?    Default value “yes”.

6) Display entry author in New Entries Info panel? Default value “yes”.

7) Display entry updater in New Entries Info panel? Default value “yes”.

8) Display entry’s posting date in New Entries Info panel? Default value “yes”.

9) Display entry’s edit date in New Entries Info panel?    Default value “yes”.

10) Display status in New Entries Info panel? Default value “yes”.

11) Display categories in New Entries Info panel? Default value “yes”.

12) Display weblog in New Entries Info panel? Default value “yes”.

Displaying new intries in Control Panel’s home page.

Recently submitted/updated entries will be displayed in Control Panel’s home page as long as it is specified in “Number of days…” setting. If you don’t want to display then so long, click “Administer entries” link. This will land you in Edit Entries page displaying only new entries. There check entries, select “Mark as not new” in selectbox beneath the table and click “Submit”. Entries marked as not new will not be displayed in Control Panel’s home page.

URL templates

In writing this extension I strived to achieve most flexible forming of URLs. Flexibility is achieved by running weblog URL templates through a simple but quite powerful template engine.

In extension’s settings you will find a textarea for each weblog. In that textarea a template of weblog’s URL should be entered. Weblog URL templates support several single variables (some of them can have parameters) and advanced conditionals.

URL TEMPLATES’ VARIABLES: SINGLE VARIABLES WITHOUT PARAMETERS

1) {site_id}
2) {site_url}
3) {site_index}
4) {homepage}
5) {weblog_id}
6) {weblog_short_name}
7) {weblog_url} - weblog URL as defined in weblog preferences
8) {entry_id}
9) {url_title}
10) {categories_number}
11) {category_levels_number}

Templates support huge number of variables of the types outlined below (level0 is the highest level of categories, level1 is the level of subcategories of highest level, etc.; category0 is the first category of certain level, category1 is the second category, etc.):

11) {level0_category0_cat_id}, {level0_category1_cat_id}, {level0_category2_cat_id} ...
{level1_category0_cat_id}, {level1_category1_cat_id}, {level1_category2_cat_id} ...
{level99_category99_cat_id}.

12) {level0_category0_parent_id}, {level0_category1_parent_id}, {level0_category2_parent_id} ... {level1_category0_parent_id}, {level1_category1_parent_id}, {level1_category2_parent_id} ... {level99_category99_parent_id}.

13) {level0_category0_group_id}, {level0_category1_group_id}, {level0_category2_group_id} ... {level1_category0_group_id}, {level1_category1_group_id}, {level1_category2_group_id} ... {level99_category99_group_id}.

14) {level0_category0_cat_url_title}, {level0_category1_cat_url_title}, {level0_category2_cat_url_title} ... {level1_category0_cat_url_title}, {level1_category1_cat_url_title}, {level1_category2_cat_url_title} ... {level99_category99_cat_url_title}.

15) {level0_category0_subcats_number}, {level0_category1_subcats_number}, {level0_category2_subcats_number} ... {level1_category0_subcats_number}, {level1_category1_subcats_number}, {level1_category2_subcats_number} ... {level99_category99_subcats_number}.

URL TEMPLATES’ VARIABLES: SINGLE VARIABLES HAVING PARAMETERS

1) {single_field} variable can have following prarameters:
1) field
2) entry_id
3) weblog
4) url_title
5) category - category id
6) sort - “asc” or “desc”
7) format - field format (e.g. “none”, “raw”)

This variable can be used to output the vavue of some custom field. Parameters do not support pipe character and “not”.

2) {entries_number} variable can have following prarameters:
1) weblog
2) category
3) url_title
4) status
5) entry_id
6) show_expired

This variable can be used to output number of entries posted into certain weblog or category. Parameters do not support pipe character and “not”.

3) {php} variable which can have following parameters:
1) string - string to be run through PHP function
2) function - PHP function name
3) par1 - first argument of PHP function
4) par2 - second argument of PHP function
5) par3 - third argument of PHP function
6) par4 - fourth argument of PHP function
7) par5 - fifth argument of PHP function

Names of PHP functions which can be used as values of “function” parameter are:
addcslashes, bin2hex, chop, chr, chunk_split, convert_cyr_string, convert_uudecode, convert_uuencode, count_chars, crc32, crypt, echo, explode, get_html_translation_table, hebrev, hebrevc, html_entity_decode, htmlentities, htmlspecialchars_decode, htmlspecialchars, join, levenshtein, localeconv, ltrim, md5_file, md5, metaphone, money_format, nl_langinfo, nl2br, number_format, ord, parse_str, print, printf, quoted_printable_decode, quotemeta, rtrim, setlocale, sha1_file, sha1, similar_text, soundex, sprintf, sscanf, str_ireplace, str_pad, str_repeat, str_replace, str_rot13, str_shuffle, str_split, str_word_count, strcasecmp, strchr, strcmp, strcoll, strcspn, strip_tags, stripcslashes, stripos, stripslashes, stristr, strlen, strnatcasecmp, strnatcmp, strncasecmp, strncmp, strpbrk, strpos, strrchr, strrev, strripos, strrpos, strspn, strstr, strtok, strtolower, strtoupper, strtr, substr_compare, substr_count, substr_replace, substr, trim, ucfirst, ucwords, vfprintf, vprintf, vsprintf, wordwrap.

Also the value of “function” parameter can be “parseint”; it is custom PHP function which behaves as Javascript “parseInt” function.

Single variables having parameters are parsed after single variables which do not have parameters; that means that you can use single variables without parameters as the values of parameters.

EXAMPLES OF USAGE

Here is URL template for one of my weblogs:

{homepage}/site/news/{url_title}/ 

Here is more complicated URL template:

{if level0_category0_cat_id == "170" OR level0_category0_cat_id == "175" OR level0_category0_cat_id == "176" OR level0_category0_cat_id == "177"}{homepage}/technical/entry/{url_title}/{/if} 

Another quite complicated URL template example:

{homepage}/ebook/general_introduction/{level1_category0_cat_url_title}/{if "{entries_number weblog="ebook_generalintro" category="{level1_category0_cat_id}"}" > 1}{url_title}/{/if} 

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. myaccount_homepage_builder
  2. myaccount_set_homepage_order
  3. control_panel_home_page_left_option
  4. control_panel_home_page_right_option
  5. edit_entries_start
  6. submit_new_entry_end
  7. edit_entries_extra_actions
  8. multi_edit_start
  9. show_full_control_panel_end

This entry was created June 6, 2011, 9:30 am.
This entry was last updated August 27, 2011, 12:23 am.

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!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

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