For questions specific to the creation/development of ExpressionEngine addons which include Modules, Extensions and Plugins.

learn more… | top users | synonyms (1)

1
vote
1answer
18 views

Add-on Dev: Extending channel->entries and tagdata

I have a search module that grabs locations based on coordinates and estimates distances. I've decided to extend then channel class so I can take advantage of the entries method to display search ...
0
votes
0answers
22 views

How can I setup composer within Store so it doesn't conflict with other addons?

Store uses it's own composer.json file with various dependancies; however I have another addon which is also using composer and shares some of the same dependancies (but different versions). I'm ...
1
vote
2answers
17 views

How to include search params in plugin with TMPL->tagparams

I'm building a custom plugin tag pair which returns channel entries, following the excellent answer to this question. Almost everything seems to be working: I set the TMPL->tagparams array to my ...
0
votes
1answer
64 views

Send email from EE template with file get contents

I’m creating a custom ext. that handles form submission + email sending. When a form or reservation has been made the data is put in EE and 2 emails are being send. One email to the client and one to ...
1
vote
1answer
81 views

Formatting custom date fields within channel entries row hook

In Shortlist the {exp:shortlist:view} tag extends the channel->entries() method for it's parsing needs. This works and allows for full custom tag parsing without much extra effort, but runs into ...
0
votes
1answer
86 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
1answer
22 views

load->view not working in some cases

I have a function in my module.php file: public function evo_admin_pb() { $this->EE->load->library('db/cache_mproc', '', 'qodb'); ...
1
vote
1answer
40 views

Does replace_tag fire for single tags if there is no $data?

I'm having a problem with a custom field type where I want to return 'some value' on the condition of there being no value in data. This works when I use a tag pair, but not when I use a single tag. ...
0
votes
1answer
29 views

How do I create a single template tag which outputs multiple bits of data?

I have just created my own module and need a bit of help displaying the content on the front end. I currently have some template tags {exp:address_book:contact}{/exp:address_book:contact} and within ...
1
vote
0answers
16 views

Show small icon in Assets if image is being used in system or not?

Looking for a way to show, with a little icon or other indicator, if a file in the Assets module is used in the system or not, as this would be a great help to editors. This would help while ...
0
votes
1answer
33 views

Problem setting a stash variable in a custom module

I'm trying to set a stash variable in a custom module I'm writing with the following code: $params = array( 'name' => 'st_test_variable', 'scope' => 'user', 'type' => 'snippet' ...
1
vote
1answer
39 views

Accesoire development, determine publish page

An older accesoire add-on i have have, uses if($this->EE->input->get('C') == 'content_publish'){ ... } to determine if we're on the publish page. Since 2.8/2.9 the cp url structure changed ...
0
votes
1answer
29 views

How do I add an entry to a category progammatically in an add-on?

I have a site that uses ChannelForms for users to add entries to a channel. These entries need to be categorised, but I can't rely on users to pick the right category as this depends on data they ...
0
votes
1answer
20 views

Custom fieldtype: tag pair and replace_tag_catchall()

I'm building a new fieldtype which should be used with: single tag: {myfield} ...which correctly calls replace_tag() method single tag with modifier: {myfield:modifier} ...which correctly ...
1
vote
2answers
48 views

is it healthy to built a web services or a web app using EE?

we are growing company and we support and use EE for more than 4 years and continues, because we believe in it, and it is our choice ever. Any ways, I was in interesting discussion with a developer ...
0
votes
2answers
32 views

Possible to access templates from plugin?

From within a plugin, is it possible to access a template? I need to do some processing on the resulting output of a template from within the plugin.
1
vote
1answer
47 views

Plugin Development - using template params in a function

I'm querying an external timetable database, and I need to get the start and end points of the journey to use in a hidden field. My template code looks like this: {exp:get_piers:departure_pier ...
0
votes
0answers
16 views

how to upload image in custom module

I am making an expression engine add-on using a file field form_upload(image) in view/file what image field is excist in table of module and other input field data is inserting perfectly but image ...
0
votes
1answer
28 views

Conditionally returning result from a plugin

I'm writing a custom plugin to tap into an external database, and I'm getting the overall results I want. However, I want to wrap my return values around a conditional to avoid processing unnecessary ...
0
votes
0answers
39 views

Is it safe to initiate a temporary session in plugin for use with the Channel Entries API?

I have a plugin that will accept posted form data from a member group and then create or update a channel entry which that member group is not given permission to post or update in (via the control ...
1
vote
1answer
63 views

How can I use third party class in EE to render instagram images on templates?

I have been using an instagram class in projects for Laravel and other small php sites and it has seemed to work well. I include a require_once in my functions file. I then create a function that ...
1
vote
1answer
52 views

Parse custom field data in entry_submission_end_hook

What I'm trying to do is parse the custom field data sent to the entry_submission_end hook. Here's what I was able to dissect out of the channel entries module, but what I'm confused is how to ...
1
vote
0answers
48 views

ACT ID gives 403 from Paypal IPN

I created a function in ee module to handle Paypal IPN as follows: function ipn_paypal(){ include_once("libraries/Paypal_lib.php"); $objPaypal = new Paypal_Lib(); ...
1
vote
1answer
31 views

Stored module version number fails to update after upgrade successfully runs

We have a custom module which has successfully used the update method in upd.addon-name.php to apply database changes. We are attempting to use it again for another version update (from 1.4.0 to ...
2
votes
1answer
27 views

File_upload_preferences_model::get_upload_preferences() removed - What to use?

I've had a plugin for ExpressionEngine developed that uses the File_upload_preferences_model::get_upload_preferences() method, which is now removed. Is there a way for me to update the plugin to ...
3
votes
3answers
93 views

Add-on - Building Queries w/ Field Names vs Field ID's

I have an add-on I've built to provide custom e-commerce reports for a client. It started as one of those 'we need this very specific thing' builds and of course has grown and grown as more needs ...
0
votes
0answers
14 views

edit_entries_additional_celldata

I'm looking for a way to display entries in the control panel in the order of being last updated. I saw that EE1 has the hook edit_entries_additional_celldata but it's not present in EE2. Is there any ...
0
votes
1answer
44 views

Looking for an a icon dropdown add-on?

Did anybody ever make an add-on that has a icon dropdown (select dropdown)? Something like this: http://www.marghoobsuleman.com/jquery-image-dropdown Where you can add icons. Preferrably svg with a ...
1
vote
0answers
27 views

When building a fieldtype add-on, are you able to extend Grid?

I wish to create my own fieldtype add-on (a fieldtype where users are able to create advanced, responsive layouts using simple tools in the backend). I currently do this without an add-on using Grid, ...
1
vote
0answers
73 views

Problem parsing deep arrays with parse_variables()

I have a problem with the parse_variables() method once my data contains an array at a certain depth: foreach ($cvs->result_array() as $id => $row) { $variables[] = array( 'id' ...
2
votes
1answer
85 views

Developing EE add-ons with code assist

First off, pardon the noob aspect of this question. I have developed on other platforms, but it's been a while now. I was starting to build an EE2 module for one of my sites and I keep getting ...
1
vote
1answer
36 views

Store Sessions Timer

We're looking for a plug in that is already made or someone who would know how to create a plug in for Store that would essentially create sessions for buyers. What I mean is that someone places Item ...
1
vote
3answers
137 views

parse_variables multidimentional empty array?

I have a template tag that uses $this->EE->TMPL->parse_variables() to create a single item with an array of [items]. Array ( ... [accessRole] => reader [items] => Array ...
1
vote
3answers
72 views

Plugin to conditionally update status via cron

I need to create a plugin to conditionally update the status on all entries in a channel each day based on a date field. I don't think I need to interact with a template in this case, so would want to ...
2
votes
1answer
68 views

Hook for Adding Custom Channel Entries Parameter Option

I'm trying to do something like orderby="custom_order" What hook would let you add and run a custom parameter option? Thanks!
1
vote
0answers
29 views

Get the current entry/template fieldtypes in a plug-in

I'm working on my first, more complex add-on and had a question on gathering field properties. If I create a tag pair, which wraps a field inside a template, what would it take to get the tag ...
2
votes
1answer
58 views

channel entries tag seems to run before my module function

The {exp:bmi_favorite:list_ids entry_type="recipe" site_id="1"} outputs 18|19 to be passed to the entry_id parameter. It does not work, unless I manually add the 18|19 into the entry_id, like ...
1
vote
1answer
57 views

Add on development. Database class not executing correct queries

i'm developing an addon. While developing i'm encountering a strange problem that I don't know how to solve. It's like EE is executing the wrong queries or something. For example, when I call this ...
1
vote
1answer
69 views

Best method to split module mcp file into multiple files

We are developing a module and the controller mcp file has become quite large. I wondered if there is a best practice for splitting this into multiple files. It's a collection of methods in the class ...
0
votes
0answers
102 views

Update channel entry

I'm new to EE. Actually I have some problem updating a entry. This is my code: ee()->load->library('api'); $data_item = array( 'stock' => '4' ); ...
1
vote
2answers
81 views

Member “change log” addon for EE

Is there an equivalent of a Change Log addon to track members actions in the CP for EE? I'm haven't seen anything like that unless I'm missing some native functionality.
1
vote
2answers
74 views

Retrieve Assets file data from custom module

I'm writing a custom module that's going to need to retrieve channel data using a direct database query. One of the custom fields is an Assets image and I need to get the full image URL and alt_text ...
3
votes
1answer
74 views

Initialize Wygwam within Custom Fieldtype

I'm developing a fieldtype add-on and within the fieldtype, I would like to include the option to let users choose Wygwam as the text element, if they have it installed. Is there some sort of a ...
3
votes
1answer
70 views

Parse exp:channel

Is there any way to parse tags exp:channel in a third party module. In my custom module I need to call exp:channel, but need to get entry ids before final rendering of the module. Can anyone know how ...
10
votes
1answer
454 views

Tools for learning ExpressionEngine addon development

What are the available tools/tutorials for learning to develop ExpressionEngine addons (modules, fields, extensions, plugins and accessories)?
2
votes
1answer
72 views

Load RTE into custom module for use in control panel

is there a way to load the RTE javascript in a module for the cpanel? I have tried the following, but keep getting an error when refreshing the page: ee()->load->library(array('javascript', ...
1
vote
1answer
32 views

Prevent multiple add_to_head() calls

In function display_field(), if a fieldtype needs to use ee()->cp->add_to_head('/path/to/foo.css') and ee()->cp->add_to_foot('/path/to/bar.js'), how can I get it to do so only once, even ...
1
vote
1answer
53 views

Old ExpressionEngine builds [duplicate]

Is there an official resource for downloading previous EE builds for add-on development/testing. I have recently started archiving all versions of EE and add-ons that I install, however I have only ...
0
votes
1answer
26 views

Version market share

I don't know how one would track such things, but does something exist/can something be built that tracks an estimation of the market share for each version of EE? The reason I ask, is that if such a ...
1
vote
2answers
119 views

Adding module configuration settings to config.php

As here, I'm looking to set some variables for a module. Creating a DB table seems a bit overkill (or maybe it's really not). I've noticed that the Simple Commerce Module does two things: creates DB ...