Questions tagged [module]
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.
209
questions
0
votes
1
answer
42
views
Addon development - make visible to Member permissions?
Using EE 3.5.1.
I have made a simple extension to allow a logged in user manage a single settings() text field. However, I cannot grant access to this add-on to other Member Groups because it does not ...
0
votes
1
answer
31
views
Settings for a module
I have created a module the generates a form, validates submissions, saves the data in a table that the module creates on install and then integrates with a 3rd party system. This all works great but ...
0
votes
1
answer
42
views
Is it possible to get routes for entries within a custom module?
I can get all my entries, including entry url titles:
$entries = ee('Model')->get('ChannelEntry')
->filter('status', 'IN', array('open'))
->order('title', 'ASC')
...
0
votes
2
answers
189
views
EE5: How to create or update entries in a custom made module
In EE2 I used the channel entries API to create and update entries. In EE5 I can't use it anymore. The only problem is that I can't find any EE5 API functions to create those entries. Are they gone?
...
0
votes
1
answer
112
views
Uploading images in CP using ee:_shared/form via custom addon
I created a module for EE2 a few years back and I'm in the process of making this compatible with EE3/4. I'd ideally like to make use of the ee:_shared/form (Shared Form View) and I'm 90% there but ...
0
votes
1
answer
68
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
1
answer
163
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
1
answer
37
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
2
answers
456
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
1
answer
23
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 ...
1
vote
1
answer
209
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 ...
2
votes
1
answer
100
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
2
answers
81
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
1
answer
90
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
1
answer
51
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
2
answers
63
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
1
answer
128
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('...
1
vote
2
answers
177
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
1
answer
271
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 ...
0
votes
1
answer
38
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
1
answer
58
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, ...
2
votes
1
answer
630
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
1
answer
210
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
1
answer
85
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
1
answer
385
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
1
answer
31
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
1
answer
34
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
0
answers
31
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
2
answers
533
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
0
answers
31
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
2
answers
385
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
1
answer
76
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
1
answer
101
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
0
answers
444
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
1
answer
83
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
0
answers
566
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
2
answers
330
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
1
answer
40
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
2
answers
51
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
1
answer
11
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
0
answers
33
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
0
answers
42
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
1
answer
33
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
1
answer
235
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
1
answer
22
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
1
answer
64
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
1
answer
126
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
1
answer
116
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
1
answer
224
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
1
answer
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?