We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extensions

Development and Programming

Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

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

       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

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

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.