Jason Weber

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Activity

  • Jason Weber added a new discussion topic LDAP groups in the group Elgg Technical Support
    Afternoon all, I'm attampting to get Bruno'd LDAP plaugin working. Thus far, all good. I can login with an AD account fine. BUT... I need to limit access to a small section of AD (our particlar Faculty) and annoyingly I dont actually have access...
  • Jason Weber added a new discussion topic Default River view in the group Elgg Technical Support
    Evening al, Quick Q. We all know the standard river dasboard and its three tabs along the top. How do i make the default view friends? And also re-organise the order of the Tabs. (I think I have the 2nd bit, I found the code in nav.php - just...
    • For changing the default selected tab to friends...

      In nav.php (/mod/riverdashboard/views/default/riverdashboard/nav.php), change:

      $allselect = ''; $friendsselect = ''; $mineselect = '';

      switch($vars['orient']) {

      case '': $allselect = 'class="selected"';

      break;

      case 'friends': $friendsselect = 'class="selected"';

      break;

      case 'mine': $mineselect = 'class="selected"';

      break;

       

      to:

       

      $allselect = ''; $friendsselect = ''; $mineselect = '';

      switch($vars['orient']) {

      case 'all': $allselect = 'class="selected"';

      break;

      case '': $friendsselect = 'class="selected"';

      break;

      case 'mine': $mineselect = 'class="selected"';

      break;

    • And on extra content... yes, it's pretty simple. Look at the index.php... you'll see it calls the content like this (just cutting out the one line responsible):

      $area1 .= elgg_view("riverdashboard/newestmembers");

      Now, if, say, you wanted to add, I don't know, a small menu there linking users to their files, groups, and whatnot... you might create an extra file in views/default/riverdashboard called minimenu.php, and put your content in there.

      Then,  to have it appear above thewire, you'd insert it like this:

      //add a mini menu above thewire

      $area1 .= elgg_view("riverdashboard/minimenu");

      //set a view for the wire to extend

      $area1 .= elgg_view("activity/thewire");

       

      ...this is a very basic example, of course, but it should get you going in the right direction. :)

    • hey guys how can i do it now? i think riverdashboard it's gone with 1.8 and i can't find anything similare by myself? how can i do this?

  • Jason Weber joined the group Elgg Technical Support