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
38 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
28 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
17 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 ...
0
votes
2answers
32 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
30 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
39 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
23 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
35 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
45 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
43 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
24 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
29 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
24 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
86 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
10 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
42 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
23 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
53 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
78 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
34 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
109 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
62 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 ...
0
votes
0answers
98 views

display results in template after submitting form, keeps redirecting

I have a recipe search form (it calls the results method in the mod.recipe_finder.php file) and it has a return parameter of "/recipes/results" On the results page, I want to display all the recipes ...
2
votes
1answer
64 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
28 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
56 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
51 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
63 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
92 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
72 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
60 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
68 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
69 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
352 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
55 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
31 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
51 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
25 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
107 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 ...
1
vote
1answer
84 views

Custom config files in an EE addon

I moved a custom addon out of system/third_party into a third_party folder above web root all was well until I realized that the addon didn't account for a different third_party folder location I ...
1
vote
1answer
42 views

Bundling Plugins and Templates

I looked at EE's Addons and the closest thing I can think off is to use Modules. However, the templates that I have in mind are using EE tags. I looked at EE's pre-installed modules and they seem to ...
2
votes
3answers
368 views

How do I add an XID hash to an old addon?

I'm using an older EE2 addon that doesn't appear to have support for secure forms. Does anyone know how to add the hidden XID hash field to the form via the addon code? I guess I'm really looking to ...
1
vote
0answers
339 views

How to load CodeIgniter language file into ExpressionEngine add-on?

in a custom add-on I am writing I am using Upload library. I cannot use $this->EE->load->library function because I'm rewriting some code, so I'm creating instance using this code: if ( ! ...
1
vote
1answer
212 views

pagination with current URL in custom module

I added pagination to a module, in a mod.filename.php Below is my code, it outputs the pagination (after it lists all the reviews) if you pass yes into the template tag parameter as seen below. After ...
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 ...
2
votes
3answers
71 views

How do I add a new action in update method of my .upd module file?

I can't find any resources explaining how to use the update() method of a .upd file in module development. All the tutorials gloss over it saying things like; "we don't need this right now, so we ...
0
votes
0answers
38 views

How do I get the resized version of an image in a fieldtype plugin?

I have a custom fieldtype on my site which allows you to upload an image and draw on it. However, while the site uses a resized version of the image, the fieldtype displays the full-sized version when ...
2
votes
1answer
66 views

Is it possible to call public methods in my module using the core codeigniter mvc routing?

I am developing a module which resides in the third_party directory of my expression engine install, which includes a public method which sends an email when called via cron. Currently the only way I ...
0
votes
1answer
32 views

How can I add configurable variables to my add-on?

I have developed a module, and now I would like it to make it configurable by admin users. How do I go about adding editable variables (I assume to the control panel page) and how do I later access ...