The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
26 views

Hook for when status is updated

Is there a hook that could be used to check what status was before submission, and what status is submitted (changed to) whilst editing an entry? I want to check to see if a status is changed to 'x2' ...
1
vote
1answer
12 views

Cannot modify $item->modifiers in store_order_item_add_end hook

I have an extension using the store_order_item_add_end hook. I can set field values such as $item->price and $item->weight - but I cannot change the content of $item->modifiers. I've also tried ...
2
votes
2answers
32 views

Altering item data from store_order_item_add hooks (_start or _end)

I'm not sure if is deliberate, but the way hooks have been implemented in Exp:resso Store don't seem to allow the modification of data? Using pass by reference has no effect (because of EE's hook ...
0
votes
2answers
37 views

Hooks for custom module

I'm using Solspace favorites module and am looking to automatically add new entries+comments to the DB in a separate Favorites Collection to mark entries as either read or unread (fav or not fav). ...
0
votes
1answer
19 views

DataGrab - is there a hook?

Is there a hook at the completion of a DataGrab import? I need to run a script after an import.
0
votes
0answers
10 views

Issues with Postmasters cartthrob_abandoned_cart notification

I’ve been trying to get Postmasters cartthrob_abandoned_cart notification to work with no avail. The notification works if I change the type to basic and fire off the ping, but changing the type to ...
1
vote
1answer
20 views

Get IDs of deleted entries

I’m creating an ExpressionEngine extension. I want to get the IDs of any records that are deleted. I’m aware of the delete_entries_end() and delete_entries_loop() hooks, but they both return void ...
0
votes
1answer
14 views

member_delete hook isn't deleting member after my code

I've got an extension that is using the member_delete hook which checks a specific entry field for the deleted member's ID and removes it if found. This is working fine (field cleared of member ID) ...
0
votes
2answers
24 views

user_delete_account_end hook doesn't appear to be working

Firstly apologies for my explanation and terminology, this is a relatively new area for me. I've built an extension which uses three hooks: user_register_end user_edit_end user_delete_account_end ...
0
votes
2answers
40 views

Programmatically Adding an Item to an Expresso Order

I have a client that needs to add a "free gift" to their customers' orders for every $100 that a customer purchases. I'm using ExpressionEngine 2.9.0 and Expresso Store 2.3.1. I've created an ...
0
votes
1answer
129 views

entry_submission_end hook with ee()->api_channel_entries->save_entry

EE v2.9.0 Build Date: 20140715 This error displays about 44 times after submitting an entry with a white screen when using the entry_submission_end hook. I have roughly 20 field types enabled, and 37 ...
0
votes
0answers
17 views

Sending a draft version of a field via postmaster

I've created a postmaster hook that is sending fine. However, what I was wondering is if it's possible to send the value of a field that a person is submitting in an email? For example, I have a ...
1
vote
0answers
19 views

Error on Postmaster Parcel or Hook save

I'm working in EE v2.9.0 and Postmaster 1.5.0. Every time I save a parcel or a hook, I get the same error: Error The page you requested was not found. The information saves, however, I need to go ...
1
vote
0answers
32 views

How do I add custom styles to Wygwam using a hook?

I want to add an extension to wygwam that allows me to add my own customized dropdown to the toolbar with different css styles. No idea where to start. I want simple styles for pull-quotes and lists. ...
0
votes
1answer
37 views

problem with publish_form_entry_data expressionengine hook

I'm trying to develop an expressionengine extension which uses "publish_form_entry_data" hook to change some default features such as customized datepicker , etc. problem is it works perfectly in the ...
0
votes
1answer
39 views

Clear cache when Expresso Store Sale is created

I think this question is probably more directed at the guys from Expresso Store, but maybe there's someone else out there that has had to deal with something similar before and can point me in a ...
1
vote
1answer
27 views

Solspace Friends - Friend Request Hook

Is there a hook I can use when a friend request is made in Solspace Friends add-on? After a friend request is made, I want to send a notification to the "friendee" (e.g. by email, Ajax notification, ...
1
vote
1answer
31 views

cp_menu_array hook : nav_ not getting picked up

I am hooking in to cp_menu_array - which seems light on the old documentation - to stick up a menu for my module. All works as expected, except the language strings. public function cp_menu($menu) { ...
1
vote
1answer
157 views

Expresso Store Hook store_order_complete_end

I am very new to EE2 and using Expresso Store in one of my websites in EE2 and need to use this hook when the order has completed and payment has been made successfully. The code I need to call is ...
0
votes
2answers
80 views

Structure of an Extension

I am trying to learn how exactly hooks and extensions are used. I am using expresso-store and have a function I need to call when the order is complete and gets to the success page (on hook ...
0
votes
0answers
26 views

member_member_login_single hook and group_id

I am running an extension on this hook, and the functionality in the extension needs the member who is logging in's group_id Even though the data array passed to the hook contains the group_id, the ...
0
votes
1answer
15 views

`email` field in exp_comment_subscription table

I disabled the sending of notifications for comments because I created a custom solution that triggers when a user makes a comment. I am trying to get emails of the subscribers via the ...
2
votes
2answers
136 views

Expresso Store tax hook help?

I’m creating an AvaTax Tax Calculator extension for Expresso Store utilizing the ‘store_order_taxes’ hook. After getting a response from the API, I'm modifying the value of the tax rate as follows: ...
0
votes
0answers
25 views

Using the relationships_display_field hook

I am tinkering with relationships_display_field hook to see if I can change the values of the some specific relationship dropdowns in the EE Control Panel. So I did very basic function to handle the ...
0
votes
0answers
17 views

Comments Subscription Manipulation in Hooks

Is there way to subscribe/unsubscribe a user to a post without the user commenting or using the comment subscriber tag? I am asking this because I want to be able to manipulate the list of ...
1
vote
1answer
48 views

Addon - Forget Password Email Hook [duplicate]

Is there an add-on that can provide a hook to change the forget password email?
0
votes
0answers
73 views

Expresso Store - Order Status Change on DB level (via Datagrabber) send out email notification to customer

Working on a project where there is a need to be able to take data provided in the form of an xml file, from an AS400 mainframe, which updates information relating to certain orders placed in ...
1
vote
2answers
73 views

Expresso Checkout conditional (use hook?)

So, at the end of the checkout process (where it becomes an order) I want to fire off an SQL query wrapped inside AJW export (which creates an xml file). However, within the confines of ...
0
votes
0answers
22 views

Saving grid data in entry_submission_ready hook

I have asked a question before on how to set/save field value in entry_submission_ready hook. However, when I tried using this approach with the grid fields, it didn't work. I have $meta, $data and ...
1
vote
1answer
69 views

is there a hook when a member resets it's password?

is there a hook when a member uses the forget password feature? Looking at the hooks documentation, I don't see any hook in there that might do this.
0
votes
0answers
21 views

What hook triggers when you publish or update an entry in the EE Control Panel Backend?

What hook triggers when you publish or update an entry EE Control Panel Backend? I tried the hooks in the list below and nothing seemed to work. entry_submission_start entry_submission_start ...
0
votes
1answer
25 views

EE Hook where I can change language to be displayed?

Is there hook in ExpressionEngine where I can change the language to be shown before the page is rendered?
1
vote
1answer
100 views

Check if user is logged-in inside sessions_start hook handler

I am aware that in sessions_start handler function, the session object is not yet set. Since I can't use the session object, are there alternative ways to check if you are logged in in this function ...
3
votes
2answers
193 views

Updating status with hook does not trigger email

First, thanks in advance for any insight. I'm using the following in a simple extension to set the status for new orders with the aim that I can send an email template based on the customer's member ...
1
vote
1answer
21 views

New comment email notification and ‘insert_comment_insert_array’ hook

I hame some input fields on my comment form, that I show for non-registered members. They are: ‘name’, ‘email’ and ‘comment text’. And my task was to add string “Guest” to text user typed in the ...
0
votes
1answer
56 views

Manipulate custom order data with CT hook during checkout

I'm using CT. When a customer checks out they are required to select a location for where they want to pickup their order. I would like to save both the location's ID and the location's pickup date to ...
1
vote
2answers
75 views

Hooks when a member is moved to another member group

Is there a hook in ExpressionEngine that triggers when any one member is moved from group to another?
1
vote
2answers
147 views

$this->EE->api_channel_entries->data (via entry_submission_ready hook) not working on front end

I have the following entry_submission_ready method in an extension to update a field's data. This works fine when saving an entry in the control panel, but it doesn't change the field value on the ...
1
vote
1answer
67 views

Change cart subtotal in cartthrob using hook

I've set up the cartthrob_pre_process hook to look something like this: public function cartthrob_pre_process($data) { $data['subtotal'] = 500.00; } It then goes to PayPal, which is the ...
1
vote
1answer
83 views

entry_submission_ready Hook Not Working

I have created an extension to manipulate saved data when an entry is saved. I can't get this to work using entry_submission hooks, I cannot find that much information about this online. I believe I ...
2
votes
1answer
94 views

What can I further do to test these Expresso Store hooks that appear to be not happening?

EE 2.7.2 Store 2.0.3 It doesn't look like the hook (store_order_recalculate_end) is happening as advertised. Works fine when adding the first item to the cart. But upon cart update or adding more ...
1
vote
3answers
106 views

With the hook entry_submission_end, is it possible to know if the entry is inserted or updated?

I'm working on an extension that indexes the content of the entry when publish form is submitted, but I need to know if the entry is a new one or an updated one, and in both case, I need the entry_id ...
1
vote
2answers
87 views

What hook for immediately after user is logged in?

I'm trying to find what hook there is for immediately after the user logged in? I've been looking at sessions_start and sessions_end but I'm not sure how exactly they work and nothing seems to be ...
2
votes
1answer
41 views

Are there hooks I can use to log file downloads

I'm working on a module to log some statistics on downloads from anywhere in the site. My module setup is fine, it installs and creates the necessary tables. Now I want to hook into the events, file ...
1
vote
1answer
53 views

Changing languages in sessions_start hook

I am trying to implement a multilanguage site. I have a hook handler for the hook sessions_start that is supposed to set the language for a page. Here are the lines of code from the hook to change ...
3
votes
1answer
644 views

How to get the logged in member id from PHP / hooks?

Is there a hook-independent way to get the logged in member id inside a hook handler? Something like a function or a global variable?
1
vote
1answer
62 views

What is the best way to modify entry data when submitting and updating entries

I am looking to modify a counter which is a field in a channel when i submit or update an entry. I am looking to count the number of matrix rows and then add that into the input field to act as the ...
1
vote
1answer
17 views

Access segments in hooks

Is it possible to access segment or page information in the hooks? Each hook has different parameters so I can't rely on those to get segment information.
1
vote
1answer
53 views

Extension Development : Redirect on error

I'm developing an extension that uses the member_update_end hook. This extension requires communicating with a 3rd party API, which I can't guarantee will always be active. As a side note, the hook ...
1
vote
1answer
26 views

Cancelling member deletion in member_delete hook handler

I am trying to implement some codein the member_delete hook in EE. But for testing purposes, I just want the hook to trigger but don't go ahead with the actual delete. Is there a way to do this? In ...