Release Notes

2.4 (2013-04-05):
 

  • added: publication and expiration date on blogs (cron based)
  • changed: cleaned up blog/save action
  • changed: requirements for plugin to Elgg 1.8.9
  • fixed: security issue in blog tools save form
  • I was looking for options to transform Elgg in something "more visual" and this pluging is a wonderfull help for me. Your Blog and Group plugings must be in the Elgg "core", great jobs really!

    Here You have the spanish traducction for this pluging.

  • i agree..
    translation editor / language selector
    blog/page/file tools
    profile manager
    widget manager

    all need some tweaking.. and all need to be in the core :)
    thanks for sharing

  • Small core blog plugin hack to add a "blog/featured" page. Pointers how to actually make it appear as a tab on the blog page are appreciated (there seems to be no views file for that).

    To show featured blogs (from blog_tools plugin) in blog listing view as default I did the following:

    in \blog\start.php

    line 109: changed 'all' to 'featured' //I assume this makes this case the default

    line 148 added: //see lib for actual function
    -----------------------
    case 'featured':

    $params = blog_get_page_content_featured();
    break;
    ------------------------

    Create a lib sorting function for featured blogs:

    in \blog\lib\blog.php

    line 189: //added full fuction section similar to "friends" listing

    ---------------------------
    /**
    * Get page components to list of the featured blogs.
    *
    * @return array
    */

    function blog_get_page_content_featured() {

    $return = array();


    $return['filter_context'] = 'featured';

    $return['title'] = elgg_echo('blog:title:featured');

    elgg_pop_breadcrumb();

    elgg_push_breadcrumb(elgg_echo('blog:blogs'));


    elgg_register_title_button();

    $options = array(

    'type' => 'object',

    'subtype' => 'blog',

    'full_view' => FALSE,

    );

    // get featured blogs from blog_tools plugin

    $options['metadata_name_value_pairs'][] = array(

    'name' => 'featured',
    'value' => true,

    );

    $list = elgg_list_entities_from_metadata($options);

    if (!$list) {

    $return['content'] = elgg_echo('blog:none');

    } else {

    $return['content'] = $list;

    }

    return $return;

    }
    ----------------------------------

    Last but not least, the modification of the languages\en.php file:

    line 18 added: 'blog:title:featured' => 'Featured blogs',

    If you want to show the lastest comments on the featured page
    change the \views\default\blog\sidebar.php

    line 9: exchange 'all' with 'featured'

  • Ahh, formatting was messed up, sorry for that. I guess it should still work though.

  • @Krischan:

    Small core blog plugin hack to add a "blog/featured" page. Pointers how to actually make it appear as a tab on the blog page are appreciated (there seems to be no views file for that).

    I will add this to my ToDo list

  • the menu/page options added by iionly to the beta versions of tidypics, such as 'most viewed images this month' etc. would also be great with blog/blog_tools. i may look at adding them to videolist.

  • @Jerome: cool, maybe your plugin could extend the core blog plugin in general to include my hack?

    The somewhat available blog archive functions could also be reactivated and extended.

Jerome Bakker

Developer @ ColdTrick IT Solutions

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2021-9-28
  • Downloads: 11091
  • Recommendations: 43

Other Projects

View Jerome Bakker's plugins