Questions tagged [hook]
The hook tag has no summary.
80 questions
0
votes
1
answer
40
views
Listen to events fired by hook EE4
I have an object that needs to be notified when a hook function is called, and act on the data from the hook?
1
vote
1
answer
89
views
Updating hooks from v2 to v4
My company has a legacy add-on from version 2 and has now updated to version 4 of EE.
With the upgrade, the hooks that fire when a new entry of a specific channel type are no longer triggering.
After ...
0
votes
1
answer
71
views
How to use a php hook to pull data into PayPal from Simple Cart
I was wondering how to connect Simple Cart add-on to PayPal using the PHP hooks.
I'm new to using hooks, but would appreciate an example to get me going. I would like to display the 'price', 'qty' ...
0
votes
1
answer
61
views
Expresso store : add on, hook store_order_complete_end creates order id+1
Expression Engine 2.10.1 , Expresso Store 2.5.1
For enabling payment via Klarna we have used following Hook to create a custom add-on to handle order creation via API.
https://www.exp-resso.com/docs/...
1
vote
2
answers
197
views
How to get data from a hook?
How do I get the last "ID" (row) created after using the "channel_form_submit_entry_end" hook? Can the hook send me the "ID"? EE5
0
votes
1
answer
105
views
Call a variable from a module that was created in an extension
Is there any way to pass a value from an extension to a module or a plugin in ExpressionEngine?
I created this very useful extension to take advantage of the expresso store module:
<?php
use ...
2
votes
1
answer
368
views
before_channel_entry_save hook
I am writing an extension on EE 3.5.11 and I am using the before_channel_entry_save hook. In the EE documentation it says and modifications to the object will be saved. I am doing something like this ...
1
vote
1
answer
67
views
Custom add-on accessing method from another custom add-on …
I've got a custom add-on/extension that extends the Store module by tapping into the store_order_complete_end hook to save details of an order to an XML file stored on the server.
I want to access ...
1
vote
1
answer
68
views
Hook when member updates password
I can't seem to find a hook for when a member updates their password. I am using EE v3.5.4 and just using the built in member templates. I am sure on existing but I can't seem to find it. Anyone ...
0
votes
2
answers
146
views
Using the cp_custom_menu hook
I can't get the cp_custom_menu hook to run. Here's my code. The activate_extension() function runs and successfully adds the extension to the db but it never gets called.
public function ...
0
votes
1
answer
207
views
Using hooks in EE3 calling methods in extensions from modules
I'm new to hooks, so pardon any ignorance in the questions...
So in my extension, (ext.staree.php), I have the following specifying the hook:
class Staree_ext
{
public $hooks = array('...
1
vote
1
answer
86
views
freeform multipage reset some values from other pages
I have a multi-page form set up as following :
question 1 > question 2 > question 3 >
question 4 if answered yes > question 5
question 4 if answered no > question 6
All my questions have a return ...
1
vote
0
answers
70
views
Cancel Entry Update / Display Error using EE3 Extension Hook
I am using a 'Channel Entry Model Extension Hook' in EE3 to allow me to carry out further validation of a selection of fields.
This is working fine, currently with the 'before_channel_entry_update' ...
0
votes
1
answer
173
views
expressionengine (expresso): How to implement existing webhooks
Hi I am really new to expressionengine and I'm currently using a module for store called expresso. Now I want to use their webhooks to update some functionalities before adding item to cart. Now, my ...
0
votes
1
answer
110
views
Is there a way to get the member_id of a user that was just logged out?
I currently have the core file Session.php modified a little to keep track of login/logout information and member_ids - create_new_session() for login, destroy() for logout.
I realize that this can ...