Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Sparky commented on the plugin Roles
    Can't see where I'm going wrong here, can anyone help?   VISITOR_ROLE => array(   'title' => 'roles:role:VISITOR_ROLE',   'extends' => array(),   'permissions' =>...
  • Sparky replied on the discussion topic View Menu by Section
    Just realised it's even simpler than that, just put a condition around the original elgg_register_menu - happy days, thanks. view reply
  • Sparky replied on the discussion topic View Menu by Section
    Thanks for your help. I have the "alt" section setup, but I don't know how to view the menu without viewing all sections, I just want the one. I understand I can "prepare" the menu, but don't know how to go about doing so. view reply
  • Sparky replied on the discussion topic Struggling with elgg_get_entities_from_metadata
    Tried this: 'type' => 'object', 'subtype => 'messages' Seems to have done the trick, must need the type in there as well. view reply
  • Sparky added a new discussion topic Struggling with elgg_get_entities_from_metadata in the group Beginning Developers
    In my efforts to have messages and notifications as separate things, I've basically copied the messages plugin and assigned them separate subtypes "messages" and "alerts". This works very well. My problem is that the...
  • Sparky added a new discussion topic Splitting Notifications and Messages in the group Beginning Developers
    I want to have notifications separate to messages (but displaying in a very similar way. I was looking at using 'object:notifications' plugin hook to change the subtype of notifications from "message" to "notification", would this do the...
  • Sparky added a new discussion topic View Menu by Section in the group Beginning Developers
    Is it possible to call elgg_view_menu for just one menu section? Or as I'm trying to do, view the items not listed in a section? As to why - I'm basically merging header and topbar and only want to load part of the topbar menu for logged in...
    • Something like this will work

              elgg_register_menu_item('topbar', array(
                  'name' => '......',
                  'href' => "/.....",
                  'text' => elgg_echo('.....'),
                  'priority' => 101,
                  'section' => 'alt',
              ));

    • Thanks for your help.

      I have the "alt" section setup, but I don't know how to view the menu without viewing all sections, I just want the one. I understand I can "prepare" the menu, but don't know how to go about doing so.

    • Just realised it's even simpler than that, just put a condition around the original elgg_register_menu - happy days, thanks.

  • Sparky replied on the discussion topic Elgg CSS
    Cheers Dhrup, I get that,just wanted to make that one big file as small as I can :). view reply