Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Modules are the most complex form of ExpressionEngine Add-On. They can have their own database tables, backend control panels, tabs and fields that are included on the publish page, as well as their own tags for use in templates.

0
votes
1answer
24 views

Call a variable from a module that was created in an extension

Is there any way to pass a value from an extension to a module or a plugin in ExpressionEngine? I created this very useful extension to take advantage of the expresso store module: <?php use ...
0
votes
0answers
9 views

Return null at the very begging of a module

Does anyone know what does it means and why do I have to add this snippet at the very beginning of my module in the main file? mod.my_module.php public $return_data = NULL;
0
votes
0answers
28 views

How to add CURRENT_TIMESTAMP with dbforge as a default 'datetime'

I need to use 'DEFAULT_TIMESTAMP' as a default value in a table I'm creating in a module, but I keep getting a notice and exception. Notice: Use of undefined constant CURRENT_TIMESTAMP Exception: ...
0
votes
0answers
12 views

Grid field data on 'before_channel_entry_insert' hook

When using the 'before_channel_entry_insert' hook, outputting the $values array, any grid fields in the entry and show as empty. How can I access the data within the grid fields through this hook? ...
0
votes
1answer
27 views

EE4 Module Tab on Template Editor Page

Is there a way to add a tab on the publish form within the Template Manager like it is with the Channels? For example, the Template Manager has the default Edit, Notes, Settings and Access form tabs. ...
0
votes
1answer
19 views

Creating a button in module control panel to manually perform module action in EE 2

I have a module with an action that is in the actions table. I need to be able to click a button in the module control panel which will perform the action(which usually takes about 15 seconds to ...
2
votes
2answers
120 views

PHP Version compatibility issue with EE module

I have created a plugin that is running good in PHP v5.5.x. When I upgrade my PHP version to 7.x it gives me errors. Code that is suspicious is: $this->EE =& get_instance(); Error is: ...
0
votes
1answer
21 views

Storing Single Option Value in Admin

I need to store a single numerical value in the admin for use in my templates. What is the best way to do this. I've reviewed Accessories, Extensions and Modules but can't seem to find something that ...
2
votes
1answer
104 views

ExpressionEngine 3 module: create custom member field programmatically

I'm creating a custom member field programmatically. This works fine, except that I want the database column to be dynamic based on what's already in the database. In my code below, the ...
3
votes
1answer
61 views

Recommend way to start a php session in an EE module?

What is the recommended way to start a php session in an EE module. I am using EE 2.9.4 and have a custom module. In the constructor I call session_start(). When I look at the cookie that gets ...
0
votes
2answers
56 views

Newly Installed Modules not updating

I'm trying to install a new module into ExpressionEngine and no matter what I try, I can't get the new module to show up in the control panel under Add-Ons > Modules. I suspect there is some kind of ...
0
votes
1answer
65 views

Unable to Access Add-ons Folder

I have just installed EE 3.4.5 for a new site and have added two modules: Structure and Wygwam. When I try and go to the Add-ons folder to activate and manage them, I get the following error: No ...
0
votes
1answer
47 views

Is there an ExpressionEngine current gold price plugin/module?

Client is looking to have a current gold price on their website, looking to see if there is a EE plugin or would anyone recommend a third party plugin? Something just like on this websites header: ...
0
votes
2answers
35 views

Creating entry with channel entries api, redirecting to empty view page

I am on EE 2.11.2, and I am using the Channel Entries API to create a new channel entry after a user submits a form on the front-end. It saves the entry just fine, but when I redirect the user to the ...
0
votes
1answer
63 views

Using hooks in EE3 calling methods in extensions from modules

I'm new to hooks, so pardon any ignorance in the questions... So in my extension, (ext.staree.php), I have the following specifying the hook: class Staree_ext { public $hooks = array('...
0
votes
2answers
95 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 ...
0
votes
1answer
104 views

Return Variables to a Template

I have created a module for Expression Engine 3, which includes two functions. search_form search_results search_form returns a form into my template. search_entries is actioned by search_form upon ...
1
vote
1answer
31 views

How to crop images with the Blocks module?

I was wondering if there's a module/add-on around which lets me crop/resize images with the Blocks module?
0
votes
1answer
49 views

Refine by, returning results back to template

In a new site I am working on, I have a refine section that allows users to select from a range of checkbox questions (around 40 checkboxes, 7 questions). I have currently wrapped these in a form, ...
1
vote
1answer
334 views

How to update Modules?

I'm new to EE, and I'm not a web programmer, although I can understand some very basic things, and I used to use Wordpress which is very different. So my question may sounds trivial. How can I update ...
0
votes
1answer
192 views

Module actions returning “File not found.” for staging site, not local site

I am currently developing a website in EE (2.10.3), and everything is working great except one difference between my local version (running on XAMPP) and my staging version on a linux server. I have ...
0
votes
1answer
52 views

How to add links to module control panel in Expression Engine 3.2.1

I've created a basic module with its own control panel page. The page works, but I can't seem to hit upon how to make that page more visible in the backend. How can I add a link on the main control ...
1
vote
1answer
293 views

Upgrading module from EE2 > EE3

Can I confirm that if a custom module does not have a control panel interface, conversion from EE2 > EE3 only requires the following changes: Create a addon.setup.php file
0
votes
1answer
23 views

Lang text with control panel interface

On a new project, the client requires that it be possible to add/modify all text. I will be using channel entries to hold majority of the 'content' text, but I am more perplexed by how I should allow ...
0
votes
1answer
16 views

Date Input Field in CP View

Is it possible to have a date input field in a control panel view page? Is there any kind of build in javascript library for the date calendar etc? Thank you.
0
votes
0answers
22 views

Module Settings Column

I am creating a competition website. For the competition I am creating a custom module. The module has a cp backend where I want to be able to add some details about the competition. For example, ...
0
votes
2answers
82 views

How to add a new database column in third party module?

I've created a module for ExpressionEngine and since it's initial installation I need to add a new column to the database. I've managed to create the update funtion in the upd.modulename.php file and ...
0
votes
0answers
29 views

How to disable the control panel ouput/view in a module, output nothing

I have written a module for expression engine with an admin control panel. I would like to be able to output some content to the screen without showing the control panel output. So just a blank screen....
1
vote
2answers
284 views

Module not showing in modules list for installing

Am trying to install Flag Master addon. https://github.com/mithra62/flag-master Did copy the extracted folder to third_party folder as per the install instructions. However the module doesn't show ...
0
votes
1answer
58 views

Trigger the member self activation email from custom add-on with member registration

So i have written a custom module to do some stuff, but part of that stuff is to register a new member into EE. All of that is working great, but, it doesn't send the self activation email out (even ...
1
vote
1answer
64 views

Uninstalling add-ons Subscriptions causing DB error

I'm trying to uninstall two add-ons that we have no intention of using on the production version of this project (Store and Subscriptions). Unfortunately, every time I go to uninstall I get this ...
0
votes
0answers
287 views

Custom module datasource results - Uncaught ReferenceError: name is not defined

In a custom module we are using the Table class with datasource to retrieve the results of some database entries, as per Expression Engine documentation. We have some filters in our module to filter ...
1
vote
1answer
74 views

What Addons are compatible with EE 3.0?

I am beginning the transition to EE 3.0 and have not been able to find a list of compatible plugins, add-ons, etc. Is there such a list?
0
votes
0answers
275 views

Can't get CodeIgniter Helpers to work in Custom Module

I have very limited experience developing custom modules for ExpressionEngine, but have managed to get an API integrated and working. Now I am trying to input data via a form, using CodeIgniters Form ...
0
votes
2answers
211 views

How to access a custom table name that isn't prefixed with exp_

I'm developing an EE module that needs to access a non EE database table that isn't prefixed with 'exp_'. How would I go about doing this? In Codeigniter I can use set_dbprefix, but that doesn't ...
0
votes
1answer
33 views

Module development: Any reasons creating catch-all action is a bad idea?

When developing a website in EE, I often create custom modules to accomplish some task, such as processing a custom form, etc. I started creating 'actions' for each form, but this grew inconvenient ...
0
votes
2answers
44 views

Module Access Privileges

I'm experiencing an issue with the module access privileges section on the member groups settings page for a few of my member groups. The issue is several of my groups have "No Modules with Control ...
0
votes
1answer
10 views

Store: who can access “Settings?”

As a member of Super Admins, I can access Store's Settings: I created a new group based on an existing on Super Admins and added a registered a user under it. When I tried to access Store's Settings, ...
0
votes
0answers
26 views

HTML to DOCX Plugin?

Is there an HTML to DOCX plugin/module for Expression Engine? I am looking for a solution akin to Shine PDF. We would like to allow users to download PDF or Word doc versions of their content. The ...
1
vote
0answers
39 views

Trying to add items to a Shortlist using my own module

I'm using the Squarebit Shortlist module and extending it to add multiple items at once using my own module. I'm calling shortlist_item_model->add and passing a key array with an entry_id and a ...
0
votes
1answer
29 views

How can we create custom capability for a member group so that we can check in our module and give access to it

I am creating a module for a simple form submission. In admin, I am showing a table view of all entries. I have a specific member group "pitch" who can access only that module. In addition they can't ...
0
votes
1answer
206 views

Submit Video URL no longer working in Channel Videos

My clients site has been using Channel Videos module for a couple years. Recently the 'Submit Video URL' for YouTube has stopped working, you enter a URL click OK, but nothing happens. Searching for ...
1
vote
1answer
20 views

Stash with timestamps and custom written module

I'm having a difficult time figuring this out. There's a section in a website with events. Visitors can vote for these events, 24 hours before and after it happens. Longer before that, it has a '...
1
vote
1answer
50 views

Render embed tags Shine pdf

I want to use the module Shine pdf to generate pdf's. Only problem is it doesn't render embed tags in the template. I would like to change the code in the module so it would render embed tags. This ...
0
votes
1answer
89 views

Add a new menu button in control panel on module installation

For the module I am developing I would like to add a new menu button in the control panel. I could do that manually, but I was wondering if there is a standard EE function to add a new menu button ...
0
votes
1answer
105 views

Import data into EE database in a module - matrix error

I am importing data from another site via a module i am building. The channel I am importing to has a matrix field. I am doing this like so: ee()->load->library('api'); ee()->api-&...
-3
votes
1answer
103 views

How to create modules in ExpressionEngine? [closed]

I am new on ExpressionEngine. I want to create a module from scratch can anyone help me out? It will be a recruitment module which will first validate the email entered and then send a verification ...
0
votes
1answer
14 views

List upload destinations in module

I'd like to show a list of available upload destinations on a form in a custom module, are there functions to help with this?
0
votes
1answer
70 views

Using a custom jquery plugin in a custom module

To use a jquery plugin in a control panel view the following is used in the module's mcp file: ee()->cp->add_js_script(array('plugin' => 'dataTables')); however I have a custom jqueru ...
0
votes
2answers
74 views

Add/Edit Form in Custom Module

Developing a form using custom module for members to update football match day statistics. These include team sheets, goals substitutions. I have been able to get the team sheets working grand but ...