Darth Vader

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Is there a simple way to get a notification on the site activity when an user updates or edits a page or sub-page using the pages plugin? I'm using Elgg 2.2.3
    • You have the following options:

      1. In your custom plugin, register an event handler as on example below

      elgg_register_event_handler('update', '<entity type>', '<my_event_listener>');
      
      function my_event_listener($event, $object_type, $object) {
          // add code for notification on river
      }

      2. Unregister the "pages/edit" action and register your own, so you can include any changes you wish.

      But I should suggest the 1st solution

       

  • Darth Vader commented on the plugin Landr
    @Cim I'm using Landr 1.1 for Elgg 2.3 (donloaded from here) and then the version from github with Elgg 2.3, which gave the error "error: This plugin is invalid: This plugin's directory must be renamed to "landr" to match the...
  • Darth Vader commented on the plugin Embed Extended
    Can't get v. 2.0.1 to work in Elgg 2.3. I get Bad request: Sorry. The request is invalid or incomplete. and the system gives an error message: "You cannot access AJAX views directly".
  • Darth Vader replied on the discussion topic Bootstrapping Font Awesome in Elgg 2.X
    Thanks. But now I'm getting tons of fatal errors. "Redirect could not be issued due to headers already being sent. Halting execution for security." Never mind. I'll just use the default Elgg icons. view reply
  • Darth Vader added a new discussion topic Bootstrapping Font Awesome in Elgg 2.X in the group Elgg Technical Support
    I had Font Awesome linked to Elgg in views/default/page/default.php in Elgg 1.9 <?php /** * Elgg pageshell * The standard HTML page shell that everything else fits into * * @package Elgg * @subpackage Core * * @uses...
    • Where, in the new 2.3 code

      In start.php of your plugin :)

      elgg_register_plugin_hook_handler('head', 'page', 'my_setup_head');
      
      function my_setup_head($hook, $type, $return, $params) {
      
          $return['links'] = false;
          
          $return['links'][] = array(
              'rel' => 'stylesheet',
              'type' => 'text/css',
              'href' => '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css',
          );
      
          return $return;
      }
    • Thanks. But now I'm getting tons of fatal errors. "Redirect could not be issued due to headers already being sent. Halting execution for security."

      Never mind. I'll just use the default Elgg icons.

    • You probably introduced some whitespace at the end of your start.php

      Get rid of the php closing tags

  • Darth Vader commented on the plugin Widget Manager
    I am unable to add any widget in 'Extra widget context' pages. Whenever I try to add a widget on the page, the system gives an error: "we could not add your widget". The existing widgets in the widget pages that are made with...
  • Darth Vader commented on the plugin CKEditor Extended
    Hello! I updated from CKEditor 1.9 to 2.0 (updated Elgg also from 1.x to 2.x) but the only change I can see now is the "toggle html-editor" button. My settings-code worked fine previously. Has the syntax changed? toolbar:...
  • Darth Vader commented on the plugin Tag Tools
    Elgg 2.3 is asking (after upgrade): Upgrades : Tag tools - set all tags as sent Mark all tags on supported content as sent. This is usefull when coming for an older version of the plugin or is this is a new...