Questions tagged [add-on-development]

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

Filter by
Sorted by
Tagged with
4
votes
3answers
904 views

Pre-fill matrix field when creating new entry?

How can I pre-fill a matrix field when creating a new channel entry. The reason to do this (and why a matrix field is needed) is: Data is best entered and represented using a table. Unwanted rows ...
15
votes
1answer
2k 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)?
8
votes
2answers
2k views

How to create a plugin which returns channel entry data

I've created a plugin that gets the entry_id's of the most popular selling items in the exp:resso store. I'd like to extend it by letting a user loop through each of those entries and output them on ...
13
votes
2answers
345 views

Custom plugins vs query tags: advantages and implementation

An answer to another question touched on the use of writing custom plugins as a more robust alternative to writing a SQL query in a template via the {exp:query} tag. What are the advantages/pitfalls ...
5
votes
3answers
1k views

Global Variable Parsing in Add-On Module

Trying to figure out what appears to be a global variable parse issue in a module add-on template tag. Here's a sample of the tag used in the template: {exp:syn_fb_comments:show url="{current_url}"}{...
3
votes
1answer
2k views

How to load javascript file in my module

I have a module that is dependant on a couple of Javascript files. How can I load these Javascript files on the front end when my module is called? They are quite large so I cannot simply use an ...
2
votes
1answer
81 views

How do I mock parameters and tagdata when using testee?

I've gotten as far as getting a tag to run with it's default parameters, but I have no clue on how to fake the passing of parameters and tagdata. I've checked the documentation for testee and munged ...
1
vote
2answers
158 views

Get the current entry_id from inside a module addon

I am working on an addon for EE3 and would like to be able to pull whatever the current {entry_id} is to use inside the mod file without requiring the user to have to add it as a param. Is this ...
20
votes
3answers
285 views

Add-on Development with Themes and Git

I'm wondering how add-on devs who's add-ons have themes use Git? For example, the way I do things now is to just make my add-ons repo the core folder; eg, securitee or ct_admin within the third_party ...
7
votes
3answers
568 views

Am I able to store my own module settings in an EE table?

I am writing a new module for ExpressionEngine and have a couple of settings that I want to store from the Facebook API. For example, if I wanted to store the Facebook ID and Albums they want to pull ...
4
votes
2answers
1k views

How to create custom RTE buttons?

I would like to create an addon which adds a number of custom RTE formatting buttons to the built-in EE Rich Text editor. There are two issues here: How to define the simplest add-on skeleton (...
3
votes
1answer
217 views

Pagination links on CP Module screen are not clickable

I'm working on a module that's outputting data using $this->EE->load->library('table'). I'm passing this back to my index() function to render things: return array( 'rows' => $rows, ...
3
votes
1answer
137 views

Abort the channel entry publish process?

I am working on an extension that takes some entry data (from the control panel) and performs some tasks with it, just prior to insert/update. I am currently using the "entry_submission_end" hook to ...
3
votes
3answers
1k 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 ...
0
votes
1answer
47 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 ...