Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Dan replied on the discussion topic Just Want All in The Wire
    costakisc, that is a great solution.  Thanks very much for that idea.  I ended up implementing a different way, but that led me to the solution I ended up using.  Essentially I did this in the copy of the mod's everyone.php (my... view reply
  • Dan replied on the discussion topic Just Want All in The Wire
    If we were using The Wire for its intended purpose I would agree with you.  I made a copy of The Wire and edited it so that only admins can post so we can use it as an announcements mod.  As such having Mine and Friends is confusing. ... view reply
  • Dan replied on the discussion topic Just Want All in The Wire
    On The Wire.  Thanks for any info. view reply
  • Dan replied on the discussion topic Just Want All in The Wire
    Tried putting this in the mod's css.php, but it deleted the tabs in Blogs and Pages, etc as well as The Wire: .elgg-menu-filter {display: none;} That would be great if it could be local to The Wire, because I don't need the tabs bar at all. Any... view reply
  • Dan added a new discussion topic Just Want All in The Wire in the group Plugin Development
    How would I disable the Mine and Friends tabs just in The Wire?  I just want to use /all.    Which file should I look at, and which call? Thanks
    • if you do the css, couldnt you do a:

      elgg get context, deal in the start for the extend view, so it will only apply the "none" for the wire?

    • suggestions @above are worth 'code-gold' follow those well and you'll find all the code,, but remember it's 'not just ' a page and/or a call '  ;-( code trail goes deeper - thru several many steps.. into elgg core (thewire plugin is not enough..) - that's not q. for agree or disagree. that's where the code you want to help you - is to be found. the core can be extended or overriden - that's what i said above - not 'hack'.

    • costakisc, that is a great solution.  Thanks very much for that idea.  I ended up implementing a different way, but that led me to the solution I ended up using.  Essentially I did this in the copy of the mod's everyone.php (my changes in red):

      $body = "<style type=\"text/css\">
      .elgg-menu-filter {
      display: none;
      ";>

      $body .= elgg_view_layout('content', array(
      'filter_context' => 'all',
      'content' => $content,
      'title' => $title,
      'sidebar' => elgg_view('kabannounce/sidebar'),
      ));

  • Dan replied on the discussion topic Inbox Not Displaying
    I am not blaming it, I am experimenting to see why the plugin isn't displaying some of its pages in my installation.  I did not modify the messages plugin at all, not one line.  But when I noticed the inbox not showing I experimented and... view reply
  • Dan replied on the discussion topic Inbox Not Displaying
    It is definitely an issue with calls to elgg_get_page_owner_entity() in the messages plugin.  For instance, in inbox.php Evidently elgg_get_page_owner_entity() is not sensing the page owner, so the error handling code is telling Elgg to go to... view reply
  • Dan replied on the discussion topic Inbox Not Displaying
    Thanks for your input.  I actually have been making most modifications in a common functions file that I call in plugins I have been developing for this site.  The only changes in core code I have been making have been to either show a... view reply