• Save
Introduction To Elgg 1224395615749768 9
Upcoming SlideShare
Loading in...5
×
 

Introduction To Elgg 1224395615749768 9

on

  • 1,448 views

Create your own social network, quickly and easily. Elgg allows you to take full advantage of the power of social technology with elegant, flexible solutions for organizations, groups and individuals.

Create your own social network, quickly and easily. Elgg allows you to take full advantage of the power of social technology with elegant, flexible solutions for organizations, groups and individuals.

Statistics

Views

Total Views
1,448
Views on SlideShare
1,431
Embed Views
17

Actions

Likes
0
Downloads
0
Comments
0

6 Embeds 17

http://www.linkedin.com 7
http://www.slideshare.net 3
http://www.slideee.com 3
http://www.linkedin-ei2.com 2
http://static.slidesharecdn.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction To Elgg 1224395615749768 9 Introduction To Elgg 1224395615749768 9 Presentation Transcript

    • An Introduction to www.mobicules.com [email_address]
    • 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
    • Components Pages RSS Files Tags Comment Blog Messages Widgets Friends/Groups Forum
    • 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
    • Customize Page
    • Elgg Data Model
    • 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');
    • Views
      • Elgg site can support different interface pages
        • Standard HTML
        • HTML optimised for accessibility
        • Mobile Internet
        • iPhone
        • Embeddable widget
    • 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');
    • 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>
    • 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);
    • Business Opportunities in Elgg
      • Education (Social E-learning)‏
        • Universities
        • Schools
      • Social Intranet for organizations
        • Employee activities
        • Knowledge base
        • Company events
      • Custom Social Networks
    • Profile
    • Groups
    • Dashboard
    • Files
      • Thanks