Introduction to ELGG, the Open Source Social Network Platform

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    13 Favorites

    Introduction to ELGG, the Open Source Social Network Platform - Presentation Transcript

    1. An Introduction to www.mobicules.com [email_address]
    2. What is Elgg ?
      • Elgg built on LAMP and is open source
      • Roll out your own social network
      • Bundles social networking components
      • Building on Elgg is easy
    3. Components Pages RSS Files Tags Comment Blog Messages Widgets Friends/Groups Forum
    4. Features
      • Advanced user management and administration
      • Cross-site tagging
      • Powerful access control list
      • Internationalization support
      • Multiple view support (eg. cell phone, iPhone)
      • Advanced templating engine
      • Widget framework
      • Opensocial support
    5. Customize Page
    6. Elgg Data Model
    7. Events
      • Events triggered when certain things happen
        • User Action
        • Callbacks
        • Special Events (Boot, Init)
      • Hook has to be registered to handle the specific events
      register_elgg_event_handler('init','system','entities_init');
    8. Views
      • Elgg site can support different interface pages
        • Standard HTML
        • HTML optimised for accessibility
        • Mobile Internet
        • iPhone
        • Embeddable widget
    9. Plugins
      • Most of the end user functionality in Elgg comes from plugins
      • Plugins reside under /mod folder
        • start.php : control hub of a plugin
        • Register plugin inside Elgg init event
      register_elgg_event_handler('init','system','entities_init');
    10. Creating a Simple Blog Plugin
      • Create Form
      • Create Object View
      <h1><?php echo $vars['entity']->title; ?></h1>   <p><?php echo $vars['entity']->body; ?></p>   <?php echo elgg_view('output/tags', array('tags' => $vars['entity']->tags)); ?> <form action=&quot;<?php echo $vars['url']; ?>action/blog/save&quot; method=&quot;post&quot;>   <?php echo elgg_echo(&quot;title&quot;); ?><br /> <?php echo elgg_view('input/text',array('internalname' => 'title')); ?> <?php echo elgg_echo(&quot;body&quot;); ?><br /> <?php echo elgg_view('input/longtext',array('internalname' => 'body')); ?> <p><?php echo elgg_echo(&quot;tags&quot;); ?><br /> <?php echo elgg_view('input/tags',array('internalname' => 'tags')); ?></p>   <p><input type=&quot;submit&quot; value=&quot;<?php echo elgg_echo('save'); ?>&quot; /></p>   </form>
    11. Contd…
      • Create Save File
      $blogpost = new ElggObject();   $blogpost->title = get_input('title');   $blogpost->description = $description; $blogpost->access_id = ACCESS_PUBLIC; $blogpost->owner_guid = $_SESSION['user']->getGUID(); $blogpost->save();   $blogpost->tags = string_to_tag_array(get_input('tags')); forward($blogpost->getURL());
      • Display Blog
      require_once(dirname(dirname(dirname(__FILE__))).engine/start.php&quot;); $body = list_entities('object','blog',0,10,false); $body = elgg_view_layout('one_column', $body); page_draw(&quot;Our Blog&quot;,$body);
    12. Business Opportunities in Elgg
      • Education (Social E-learning)
        • Universities
        • Schools
      • Social Intranet for organizations
        • Employee activities
        • Knowledge base
        • Company events
      • Custom Social Networks
    13. Profile
    14. Groups
    15. Dashboard
    16. Files
      • Thanks

    + mobiculesmobicules, 2 years ago

    custom

    8232 views, 13 favs, 12 embeds more stats

    An introduction to ELGG, which is an extendable Ope more

    More info about this presentation

    © All Rights Reserved

    • Total Views 8232
      • 7641 on SlideShare
      • 591 from embeds
    • Comments 0
    • Favorites 13
    • Downloads 175
    Most viewed embeds
    • 522 views on http://www.mobicules.com
    • 24 views on http://nontster.wordpress.com
    • 20 views on http://c4lpt.co.uk
    • 13 views on http://www.c4lpt.co.uk
    • 3 views on http://softelabs.googlepages.com

    more

    All embeds
    • 522 views on http://www.mobicules.com
    • 24 views on http://nontster.wordpress.com
    • 20 views on http://c4lpt.co.uk
    • 13 views on http://www.c4lpt.co.uk
    • 3 views on http://softelabs.googlepages.com
    • 3 views on http://spaces.tiddlyspot.com
    • 1 views on http://iva.cicei.com
    • 1 views on http://nirajr.dyndns.org
    • 1 views on http://64.233.163.132
    • 1 views on http://www.slideshare.net
    • 1 views on http://madhotra.com
    • 1 views on http://adersoft.blogspot.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories