The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
13 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
18 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
15 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
19 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
25 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
58 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
58 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
20 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
13 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
79 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
18 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
13 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
38 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
41 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
64 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
17 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 ...
0
votes
1answer
42 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
16 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
0answers
14 views

Is there a hook to filter out relationships in the EE backend?

Is there a hook that I can use to filter relationship entries being displayed in the single entry publish and edit pages in the EE Backend Control Panel?
0
votes
0answers
12 views

Is there a hook that triggers when upgrading ExpressionEngine?

Is there a hook that triggers when upgrading ExpressionEngine? I have done some changes to the Grid fieldtype since it does not support a feature that I want(translatable headers and dropdown). I ...
0
votes
1answer
23 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
62 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
89 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
18 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
40 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
64 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
89 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
55 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 ...
0
votes
1answer
70 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
80 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
1answer
72 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
74 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
37 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
45 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
443 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
57 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
42 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
22 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 ...
0
votes
1answer
74 views

Is it possible for the hook handler of safecracker_submit_entry_start to cancel form submission?

I have a hook handler for safecracker_submit_entry_start that gets some value from a form field and processes it. I want to validate the output of that process. If the output is good, then continue ...
3
votes
1answer
191 views

Multiple Hooks, One Extension

In the documentation the code to add enable extension hooks is like this $data = array( 'class' => __CLASS__, 'method' => 'truncate_this', 'hook' => ...
1
vote
1answer
103 views

Undefined property session in cp_js_end hook

Currently facing the following error in the cp_js_end hook. Undefined property: Javascript::$session it looks like the session class isn`t loading anymore in EE 2.6+ It whas working in older ...
0
votes
4answers
411 views

Get an EE instance without any output

I'm developing payment gateway for the BrilliantRetail and I need to create IPN callback script which will change BR orders statuses and return response data to the IPN-gateway. So I'm trying to find ...
1
vote
1answer
93 views

Filter comments by Entry Author in the Control Panel

I've been looking up the hooks that can be used with the Comment Module. But I don't think there is one I could use to filter the list of comments by entry author in the Control Panel. I'm trying to ...
1
vote
2answers
492 views

What is the best way to start using hooks?

I've used EE for a while now but I'm new to creating extensions or modules. I want to add a functionality where a bunch of email addresses stored in a database get notified when an entry is submitted ...
1
vote
1answer
93 views

How do I set a field value in entry_submission_ready hook handler?

It seems that changing the values of the $data argument variable doesn't change anything. Is there a way to change the value of some channel fields inside the entry_submission_ready hook?
3
votes
1answer
103 views

How do I check if a field value has changed in a entry_submission_ready hook handler?

I am writing an extension for the hook entry_submission_ready I see that it has 3 params(meta, data, autosave). I look at data and I see there is channel data in there and a revision post data ...
6
votes
2answers
116 views

What hook should I use that executes before a channel entries tag is parsed?

Suppose I have a template with a channel entries tag on it. I need to execute an extension method during a hook that runs before the channel entries query takes place. It doesn't matter what ...
2
votes
2answers
128 views

entry_submission_start does not fire as expected

I am trying to use the entry_submission_start hook to be able to check the current settings before the extension updates them. I expected the hook to fire before the entry is submitted, but when I ...
7
votes
2answers
431 views

Add Postmaster hook to my custom plugin

I have a custom plugin that logs into a database each time someone downloads an image. This is achieved through a module installed with my mod files etc. The plugin records the current logged-in ...