Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • VinceK replied on the discussion topic Hypewall - Missing entity in $vars
    Many thanks, Nikolai. I'll update my version of the plugin. view reply
  • VinceK replied on the discussion topic Hypewall - Missing entity in $vars
    Sorry, Nikolai, I wasn't implying there was an issue, I just wondered if the null entity was affecting functionality that I wasn't aware of. The Post object entity is present when editing a post, but not when adding a post or visiting the... view reply
  • VinceK replied on the discussion topic Hypewall - Missing entity in $vars
    Thanks for your response, Nikolai. How did you understand that? In an attempt to better understand Elgg, I have been using Netbeans with XDebug to remove the deprecated messages from the hypewall plugin. I've been very careful and... view reply
  • VinceK added a new discussion topic Hypewall - Missing entity in $vars in the group Beginning Developers
    Hello, I'm using hypewall 6.2.0 in Elgg 3.3.12 and in "\forms\wall\status" and "\framework\wall\container", a call is made to "$entity = elgg_extract('entity', $vars);". In both instances it returns...
  • VinceK replied on the discussion topic Hook to alter Walled Garden view
    Thanks again, Jerome. I'll do as you suggest. I'll have to find another use for those hooks :) view reply
  • VinceK replied on the discussion topic Hook to alter Walled Garden view
    Thanks for your speedy response, Jerome. I did what you suggested originally and then I read there was a caveat to that methodology due to long term maintenance. If it is possible, I would really like to get a grip of those hooks :)  Just... view reply
  • VinceK added a new discussion topic Hook to alter Walled Garden view in the group Beginning Developers
    Hello, I'm running Elgg 3.3.12 and my plugin is attempting to alter the output of the walled_garden page. I've created a hook that calls back to a function that alters the 'log in' title of the walled_garden page, however I can only...
    • I did what you suggested originally and then I read there was a caveat to that methodology due to long term maintenance.

      What would be the problem? If you override the views in your own plugin (and NOT change the core views) the only problem I can see if we patch something in a view you won't get it.

      Since this rarely happens for the core views (mainly in major builds) I don't think this will be a problem.

      Just out of interest, is there a performance implication in either of the solutions?

      Hooks add a (tiny) bit of extra execution and therefor performance costs (but it's very very small), overruling the view doesn't add additional execution so no penalty

    • Thanks again, Jerome. I'll do as you suggest.

      I'll have to find another use for those hooks :)

    • I'll have to find another use for those hooks

      hint: menu items ;)

  • VinceK replied on the discussion topic Custom Login
    You're a star! I needed both your suggestions.  The problem was I had read so many different examples and docs relating to earlier Elgg versions I ended up with a muddle of actions, routes and calls to registers. i.e. in elgg-plugin.php I... view reply