The extension tag has no wiki summary.
0
votes
2answers
23 views
Determine template from extension
Is there a good way to determine which page template was loaded for a given URI? I'd like to be able to use this information from an add-on.
For example, if my root template group is home and the ...
0
votes
0answers
31 views
ERR_EMPTY_RESPONSE
I am experiencing a somewhat baffling issue I've never seen before. In production, my EE site is intermittently crashing and returning a ERR_EMPTY_RESPONSE message to the browser. I can fix the site ...
0
votes
2answers
31 views
Installing Extention Cartthrob
Hi
I'm trying to install Cartthrob
I have Extension enabled
But still carthrob is asking for extension to be installed
Is there anything else i need to check for this?
Thanks!
I'm testing this ...
3
votes
1answer
45 views
How to force installation of extension during module install
When installing a module how do you require it's extension to be installed at the same time and vice versa?
I did a google search and looked over the docs as well and didn't find anything. That ...
1
vote
2answers
57 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
20 views
Problem calling action in browser
I have made an extension that creates an action. The action has been created and is in the database with an ID of 34. But when I go to the following URL:
http://mywebsite.com/index.php?ACT=34
I get ...
1
vote
0answers
35 views
Server Error on Field Types
I am trying to navigate to my Field Types area in the admin and I get this error:
The website encountered an error while retrieving ...
2
votes
1answer
18 views
Run extension on page refresh?
I am new to plugin/extension development in EE. I currently have an extension that creates a cookie and saves a value to it. What I want is on every page refresh this value to be updated.
Is there a ...
1
vote
1answer
27 views
set_flashdata with save_settings for extensions
After saving an extension's settings, EE by default redirects you to the Extensions landing page. I want to keep the user in the extension settings after saving but also use EE's flashdata.
The below ...
1
vote
2answers
39 views
iStockPhoto Lightbox-type extension
Has anyone come across an extension that will allow a user to create multiple "lightboxes" of their favourite channel entries?
I am aware of the Solspace Favourites module, but that only allows users ...
4
votes
1answer
27 views
How to find out what class/function has invoked extension hook?
I have an extension that relies on certain extension hook.
The hook can be invoked either by function from EE core or third-party module.
I need to be able to tell what function / class has invoked ...
3
votes
3answers
56 views
ExpressionEngine snapshot add-ons?
My client is forever concerned with making big changes in EE. For instance, using Structure to reorder pages, or renaming entire sections of the site.
I'm wondering: Are there any add-ons that can ...
2
votes
1answer
107 views
Local site breaks with production database
I've been using the Focus Labs bootstrap with great success for my last few projects. However just now I ran into a snag. I exported my production database, imported it locally, and now the site does ...
6
votes
1answer
35 views
Extension Development - Use existing settings column or create a new table?
I was pondering this today and trying to decide on the best route when it comes to storing data for an extension.
The data I am storing in an extension involves a many to many relationship with two ...
6
votes
2answers
46 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 ...
1
vote
1answer
24 views
Extensions Manager returns “Internal Server Error”
An EE1 site that I developed many years ago was recently moved to a new server. I logged into the CP to do some work and everything seemed fine, but when I tried to pull up "Utilities -> Extensions ...
3
votes
2answers
203 views
Channel entries not automatically filtered by language when using Transcribe
Hello fellow ExpressionEngineers,
I'm in the process of translating the website of one of my companies. It was made in french and I'm doing the english language translation.
For that job, it seemed ...
3
votes
1answer
22 views
Problems overriding mod.member_settings.php email_prefs_form and update_un_pw_form
I have an extension and module that handles authentication for EE. I'm having some troubles understanding how to go about over-riding the handling in mod.member_settings.php. There is a hook for ...
4
votes
1answer
43 views
Is there documentation on the Safecracker object argument on the safecracker_submit_entry_start/_end callback function?
I am using an extension that uses the hook "safecracker_submit_entry_start" and "safecracker_submit_entry_end".
The function that handles the callback has a safecracker object argument.
I am ...
1
vote
1answer
119 views
displaying a flash message after redirect
I'm programming an EE extension, and in the save_settings() method, if I redirect() (after unsuccessful data validation), the message stored in the set_flashdata() method doesn't show.
If I comment ...
7
votes
1answer
65 views
Issues with EE Flickr for ExpressionEngine and favorited photos
I'm using EE hive's flickr plugin. I've authenticated ExpressionEngine with my flickr account but i'm having issues getting the favorites tag pair to display any information. I'm using EE 2.5.3 and ...
4
votes
1answer
104 views
Tax issue with Cart Throb
I'm scratching my head with a Cart Throb problem.
I have a custom extension that handles tax, and it is returning the value of tax properly. But the tax is not being added to the total in the cart.
...
2
votes
2answers
61 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 ...
3
votes
2answers
203 views
ExpressionEngine add javascript to CP head
I have been struggling with this for a while now and am stuck I am writing an extension for ExpressionEngine 2 (not a module) and need to add a script tag to the header of the page.
I have tried:
...
3
votes
2answers
86 views
How to add a custom JavaScript to the “New Entry” control panel?
How can I add a custom script to the "New Entry" control panel page to interact with the input form. The script does not need to be added to the "Edit Entry" page and certainly should not be added to ...
6
votes
1answer
91 views
Development: how to know current site selected in Control Panel
I'm developing a custom extension that should work also in Control Panel.
In an EE MSM environment I need to know which site is selected (site_id).
Is there any variabile?
I can't find anything in EE ...
0
votes
2answers
75 views
Mailchimp Subscribe with Profile:Edit / Cartthrob
I'm having problems getting Mailchimp Subscribe working when used in conjunction with Profile:Edit registrations or Cartthrob Checkout. Does anyone know if there are known conflicts with these ...
2
votes
1answer
50 views
Member Activation Redirect conflicts with Twomile Login Redirect
The add-ons Member Activation Redirect and Twomile Login Redirect don't play nicely together - has anyone gotten that to work?
It seems like the "welcome" page set under the first extension gets ...
2
votes
1answer
30 views
In EE 2.X what replaces the submit_new_entry_end hook?
I'm working on converting an old 1.X extension over to EE 2.X, but my hook was 'submit_new_entry_end'. I can't seem to find a reference to what hook should replace it. My guess is ...
6
votes
1answer
50 views
template_fetch_template hook $row parameter
I'm considering writing an extension that greatly depends on hooks that are available before and during template parsing. I see in the ExpressionEngine hook documentation that there is a hook called ...
4
votes
2answers
82 views
Pre-populating SEO lite fields: custom extension advice
I have a client site which utilises the SEO lite module. The client has come back with a feature request which I'm trying to figure out a way to achieve: they want to pre-populate the SEO fields on a ...
9
votes
1answer
135 views
Testing Extensions / Calling Hooks
I'm about to embark on writing a new extension for the Ecommerce module "Store" though this should relate to any extension hook. I am planning to "hook" into "store_order_complete_end" in order to ...
7
votes
1answer
251 views
How can I enable HttpOnly cookies in EE
Update:
Thanks to Dom Stubbs, I have an extension to accomplish this now. It is up on devot-ee and also up on GitHub. Thanks Dom!
The Original Question
I am nearly through a security review of a ...
8
votes
1answer
100 views
Exp:resso's Store apply coupon to category only
Does anyone know if it is possible to set up a promo code in Store that only applies to products in a certain category?
I am happy to use an extension (if one exists) to fill the gap if this isn't ...
7
votes
1answer
137 views
Turn off extension in Control Panel
I would like to make sure an extension isn't run, via sessions_end hook, in the control panel.
I'm currently doing this like so:
if ($this->EE->input->get_post('D') == "cp")
{
return ...
