Are you mentioning about page_handlers?
Yes, page handler. I want to get it in a hook handler function.
Plugin hooks and page handlers are different things. The hook you listed will only be fired for the index page (root or /).
The standard way to use page handlers is to register with elgg_register_page_handler(). More info here: http://docs.elgg.org/wiki/Engine/Controllers/PageHandler
There is a hook you can use that will trigger for every page handler: route, all. The registered handler and pages array are passed as params.
Great! It worked perfectly! Thank you :)
And now I also want to remove default css and js. I used
It worked but the vendor jquery 1.6.4 is still used. I want to replace it by jquery 1.7.2 or another js library such as mootools, dojo. So how to do it ?
Thank you :)
Use elgg_register_js(). I recommend always reading the inline documentation for functions because it usually points you to related functions. Also, look at the bundled plugins for examples of many of these things.
No friends yet.