Are extensions only loaded when your in the admin control panel?
I tried developing an extension to edit the sessions in the main site however my changes don’t show up unless I am in the admincp, which leads me to believe that.
Is there any setting i need to turn on somewhere to allow for hooks to be used throughout the site not just the admincp?
Mod Edit: Moved to the Extensions Technical Support forum
Wired,
hooks are specific to a certain place in the code.
A hooks page will say which file it occurs in and that will give you a place to start.
If you look in the core.session.php file and do a quick search for the hook you are using you will see where it occurs and that might help answer your question.
In this case I believe the hook should kick in whenever the session function being dealt with is triggered regardless of whether it happens via the CP or the front end of the site. So I suspect something else is going on.
Jamie
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.