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.

learn more… | top users | synonyms

0
votes
0answers
4 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
7 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
16 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
0answers
10 views

Deleted and readded Member Module, now getting 404 on all module pages

Recently I was trying to remove the /member/index.html file so there's no way for users to login to our website but upon testing removing all the files in the /modules/member file and putting it back ...
0
votes
0answers
7 views

EE API to delete causing error in Zenbu in custom module

I am using the following code to delete entries in my custom module: ee()->load->library('api'); ee()->api->instantiate('channel_entries'); ...
0
votes
1answer
29 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
16 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 ...
0
votes
1answer
16 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
16 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
0answers
12 views

Module and plugin ‘dependencies’

Is it possible to make a module dependent on another module? This seems similar to this previous question but the answer to this is to re-instantiate the module whose function you want to use. My ...
0
votes
1answer
54 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'); ...
-2
votes
1answer
42 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
13 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
27 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
22 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 ...
1
vote
1answer
56 views

Dealing with Localized/Fixed Dates in EE Module

So I'm working on a module that requires it's own tab in the EE Control Panel edit/publish pages. One of the fields in the module's tab is a date picker. I've got the module saving the date to my ...
1
vote
2answers
97 views

Add form to EE Module for front end processing

I am trying to add a form on the front end so my users can use crud functionality and allowing me to add responsiveness to the form. I have been pointed in the direction of an article and examples ...
0
votes
1answer
74 views

form validation for module mod file template tags

I am creating a dynamic form on the fly for use in EE templates. I create the tags using the mod.module_name.php file of my module. I am trying to run validation on the form, every field is required ...
0
votes
2answers
34 views

Global variable as a module tag pair's parameter?

I'm trying to pass {ip_address} to a module, which isn't working: {exp:rest url="http://domain.com/{ip_address}" verb="get" format="json"} {/exp:rest} The {ip_address} is getting interpreted as a ...
1
vote
1answer
43 views

redirect in add-on module redirecting me to admin control panel login form with # appended in URL

$this->EE->functions->redirect(BASE . AMP . 'C=addons_modules' . AMP . 'M=show_module_cp' . AMP . 'module=module_name_here' . '#tabsettings'); EE v2.9.2 I want to redirect the user after ...
0
votes
1answer
41 views

Hook for when status is updated

Is there a hook that could be used to check what status was before submission, and what status is submitted (changed to) whilst editing an entry? I want to check to see if a status is changed to 'x2' ...
0
votes
1answer
34 views

Security of an Action URL called from AJAX

I have an action URL, index.php?ACT=23, that calls a function which inserts some info into the database. This is being called from an AJAX function, so I can't control where it is called from. My ...
0
votes
1answer
42 views

Insert Custom Channel Field Grid into Database?

Is there a better way to tie into EE to create a grid field? During my module install, I am having it setup a new grid field to relate to a custom channel field group that setups up the required table ...
0
votes
1answer
15 views

Call EE publish from another module and prepopulate some fields

I have a custom module that members update team and player information. I would like to use a channel for publishing match reports rather than code it into the module. Is it possible to call the ...
0
votes
0answers
6 views

Specifying the ID for a FORMS module

I have added several hidden fields that I want to set to specific values. I would like to be able to specify the ID for these fields rather than have the Forms module automatically assign them. Is ...
0
votes
1answer
27 views

New posting notification for certain member group

We have a developed a new academic forum on our site and would like to generate an email to the academic members alerting them that a new posting has been made. I realise that Administrators and ...
1
vote
1answer
41 views

Hook for when viewing single entry

I'm in the process of building my 1st extension (oi!) and I need to find a hook that allows me to fire off a routine when a member visits a single entry page. I have listing pages and single view ...
0
votes
2answers
43 views

Hooks for custom module

I'm using Solspace favorites module and am looking to automatically add new entries+comments to the DB in a separate Favorites Collection to mark entries as either read or unread (fav or not fav). ...
0
votes
1answer
22 views

Photo Frame add-on — customize alt attribute?

I just installed the Photo Frame EE add-on and I'm really impressed with the image editing functionality. I'm unsure, however, as to whether it's possible to include a variable in the image alt ...
0
votes
0answers
25 views

Moreevents - undefined variable

I have now go to the stage that I can run the book now set of templates and make payment via paypal but on returning to my site I get the following error messages: Severity: Notice Message: ...
0
votes
0answers
25 views

Metaweblog API module responds with Form Expired error

When I try to communicate with the Metaweblog API module using the MarsEdit blog editor, I get a Form Expired error. Here's the network log of the call and response. Any thoughts on what's going on ...
0
votes
1answer
13 views

Is it possible to use $lang variable in fatal_error output on front end?

In my custom module I want to display a series of error messages for X, Y & Z. I have a single tag in the mod.[module_name].php file and I want to throw out an error if no id has been provided. ...
0
votes
1answer
35 views

MoreEvents Module - Templates

it's good to see the answers from Brad on issues with MoreEvents. I have been trying to work with the module but wondered if my installation was ok or not. Can anyone tell me if the module was ...
0
votes
1answer
60 views

Pagination while Get Variables in URL

I've built a plugin that runs on a page & pulls data from a get variable in the URL. Page URIs look like '/page&foo=bar'. That's working perfectly. I've also built pagination into my ...
0
votes
0answers
16 views

Can I use the Expression Engine Grid field in my module admin settings

Can I use the Expression Engine Grid field in my module admin settings? If so is there any documentation on how to go about doing this? I have not had any lucking finding any.
0
votes
1answer
47 views

Low Search Filter with require_all

I'm trying to show products that are in X and are also in Y categories. Not all products in X and all products in Y. Low kindly replied suggesting adding "require_all" to the results tag. This works ...
0
votes
1answer
69 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'); ...
0
votes
1answer
35 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 ...
0
votes
1answer
25 views

Detect if url is that of the Pages Module

Is there a way to know if the current url being called is that of the Pages Module? For example I'd like to do something like this: {if pages_module =="TRUE"} This is a page generated from the ...
0
votes
0answers
12 views

Modify channel entries query [duplicate]

Below is a stripped down version of opening channel entries tag pair I have on a business section of my site: {exp:channel:entries channel="business" limit="1" dynamic="no" ...
1
vote
0answers
55 views

Custom module, get channel_id so I can pass it to function: ee->api_channel_structure->delete_channel()

I am using api_channel_structure I want to correctly set up the uninstall function. To delete a channel I'm creating, I'm calling delete_channel. It requires a channel_id. Fine, but I only have a ...
1
vote
1answer
127 views

With new Routing capabilities in EE 2.8 - Trying to figure out the best solution

I'll start with an example. An image with an embedded watermark URL example.com/1203020202, in the lower right-hand corner in small text will serve as a redirect to the original URL. So when a user ...
0
votes
1answer
57 views

Sending An Array To EE Tag. Is It Possible?

I am very curious and very new to ExpressionEngine. Is it possible to send an array of values to an EE tag? i.e. {exp:className:functionName parameter="value"} Can the above parameter be of type ...
0
votes
0answers
58 views

UTM Link Generator Module For EE2

I need to implement UTM tags to all of the links I have in my site to track their progress, campaigns, sources etc. The following tags are being used to build a UTM tagged link: utm_campaign ...
0
votes
1answer
52 views

Solspace Ratings Pagination Links Variable Pair

I read in the old solspace forums that the the rating module would support the ee variable pairs {pagination_links} {/pagination_links} But when i add them ton the template only the tag ...
0
votes
1answer
33 views

Extensions - where to start

So, been using EE for some time but now want to push the limits and write some extensions and or plugin. The extension needs to write the entry_id of the entry just published by any user OR the ...
2
votes
1answer
63 views

Modules vs Extensions

I am very new to ExpressionEngine and don't quite fully understand all the concepts yet as I come from a solid OOP environment. When would you use functions in modules and when would you use functions ...
0
votes
1answer
108 views

Upload file form in CP - create module

I need put in my CP a upload image field. I would like know if have a possibility that integration of use in my module the default upload file of EE or if I have that do the upload file manually.
0
votes
1answer
27 views

Posting to a page containing custom module from external site gives '403 Forbidden'

I have a template containing a tag from a custom module that processes POST'd data from an external site, but when the page is called it responds with a 403 error (so the logs from the external site ...
2
votes
2answers
231 views

Structure & Channel Forms not playing nicely

I'm using a new installation of EE (2.8.1) with the latest Structure version. I have a channel which allows entries to be submitted by the front-end user. However, when an entry is submitted via the ...