Hi.
I’m currently working on a client project that requires a heavily customised member profile / member control panel.
I’ve reached a point where I can’t quite work out what I need to do next.
Basically we require the ability to to listen for custom URIs e.g.
/member/profile/do_something_extra_special
and then carry out an action based on the URI e.g.
function some_made_up_hook() {
global $IN;
switch($IN->segs[3]) {
case 'do_something_extra_special':
// do something....
break;
}
}
However. As you are more than likely already aware, no suck hook exists.
If anyone can provide any insight, or just further information as to where I would go about adding my own hook and/or can bring anything more to the table, I’d be eternally grateful.
If I’m headed in the wrong direction and would be better off working within EE templates and modules to achieve the required functionality please advise. I’m generally confused as to what direction I should be taking. Any input is welcome.
Thanks in advance.
Matt
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.