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
1answer
21 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
10 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" ...
0
votes
0answers
18 views

How To Share HTML To Facebook Via Sharer

On my online shop success page (after the user payed via credit card or Discovery Miles) I allow the user to share the products that was just ordered to Facebook. How would I achieve this if I use the ...
1
vote
0answers
16 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
85 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
16 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
19 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
15 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
27 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
49 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
25 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
21 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
1answer
84 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 ...
0
votes
1answer
11 views

Why is my FoxyCart Datafeed getting a different POST than it should?

When comparing FoxyCart's Transaction Datafeed's raw POSTs to any other web service, EE's reception seems totally different. What is going on? I am using the latest version of EE as of this writing, ...
0
votes
1answer
46 views

I need make a Form the custom module

In first, sorry to something. I'm new in EE and need make a form of custom table. ex: my table have 4 fields, name, old, address, city. (this is only example.) and need make in control panel a form ...
0
votes
0answers
13 views

403 error from metaweblog API

I'm trying to use the Metaweblog API module to post to my site using Mars Edit. This has worked in the past, but I've since moved sites. The posting URL is http://coastsider.com/?ACT=32&id=1 ...
2
votes
1answer
33 views

Correct way to share functions/methods between Module and Extension

I'm just getting acquainted with Add-on development beyond basic plugins and I'm not exactly sure the proper way to organize my files. I have a base Module file, mod.xxxx.php that has a handful of ...
2
votes
0answers
34 views

Moblog POP3 problems

Im experimenting with Moblog as would really like to get this to publish short read entries into my site. Ive got it working to some extent, its publishing to channel entries and I could display those ...
3
votes
1answer
47 views

EE 2.8.x - “All data associated…will be permanently deleted!” when installing an addon

This is an odd one and I'm wondering if we can just confirm here that it is some weirdness created in EE 2.8.x. I just had a NavEE user contact me that when INSTALLING the module, they are seeing the ...
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 ...
0
votes
1answer
21 views

Very basic addon method not outputting anything

The following code is a small part of a module I've written for a client project. Can anyone see why in some templates it outputs the newrelic code but in others it doesn't? function newrelic_stop() ...
3
votes
3answers
59 views

Development Cycle

I am a long time Drupal Developer, but it looks like I'm going to have to do some EE Dev work. This question might become clear as time goes on, but wondering what experiences/best practices can be ...
0
votes
1answer
28 views

PHP Erros With DataGrab

When I open Add Ons > Modules > DataGrab I get the following PHP Errors: I am running EE 2.7.3 and DataGrab 1.8.0. Any ideas what is happening here? Thanks.
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 ...
1
vote
1answer
33 views

Detect user is coming from which country?

There are some channels in my table that will give different data which will vary with different countries. I want to detect it at the very begining.I did see some free pulgins but are very ...
2
votes
2answers
38 views

Expression Engine Forum Alternating Classes

Reading the expression engine forum display forum topics There is no count variable. I want to alternate classes for each result so it can have different background colors. There is no other property ...
1
vote
1answer
28 views

Moblog User Authorization not working

ExpressionEngine 2.7.3 I have installed the moblog add-on and it is working fine except when I try and implement user authorization it refuses to work. If I make authentication required then the ...
1
vote
1answer
111 views

Ajax Request from Template

I am trying to return json from a module method. Very simple example at this point. public function mealDates() { echo "{\"foo\" : \"bar\"}"; } From the template $.ajax({ //request dates ...
1
vote
1answer
46 views

Conditionals not Parsed in form

I am creating a form via module, that I wish to use for both insert and update. After the insert user has the option of going back to edit the values previously input. The issue that I encounter is ...
0
votes
1answer
69 views

Custom Plugin to Process Form

I am building a custom plugin to process a form. I am new to custom plugins and after looking at several different tutorials I am stuck on my form action. I would like to access the process form ...
0
votes
1answer
53 views

Load EE Field Type in Third Party Module

I am trying to load wygwam field type into a custom module, on my localhost the following works: require_once(APPPATH . 'fieldtypes/EE_FieldType.php'); ...
0
votes
1answer
33 views

Can't get Discussion Form Update to run

I'm attempting to upgrade my EE Discussion Form Module from version 3.1.8 to 3.1.14 in my EE 2.7.3 environment. I followed the upgrade instructions, but when I access the Add-ons > Modules > ...
2
votes
1answer
105 views

Blocks in ExpressionEngine

I am a Drupal developer doing my fist ExpressionEngine project. Drupal uses a model of content 'blocks' that can be placed in regions on pages based on certain rules. I understand the use of ...
-1
votes
1answer
33 views

Installing the “Perfect” module

I am trying to try and install this http://devot-ee.com/add-ons/perfect. does not seem to have the same structure of other modules I have installed. How do I do this? Thanks.
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' ...
1
vote
1answer
46 views

Return paramater after form submission (in custom module)

I am building a custom module. In my module I have a form function which basically creates the form. When this form is submitted, I want the form to return to a specific URL. I have added a 'RET' ...
1
vote
1answer
85 views

How can I apply field formatting (markdown) when parsing a template in a module?

I have a module that processes web forms and uses a template to generate an email when finished. Here is the module code: $data['message'] = $message; $this->EE->load->library('Template', ...
0
votes
2answers
224 views

How to properly implement Jquery within EE

So I've been using EE for some time now (since 1.6) and have been using 2.x for the past few months. I know that Ellis added the Jquery module, but I've seen absolutely no useful tutorials or ...
2
votes
3answers
337 views

How do you remove template group from URL?

I've scouring through StackExchange looking for an answer for the last few days with no luck. These are the suggestions that I've seen without any real detail or resources: 1.) Somehow use the ...
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 ...
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
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 ...
2
votes
1answer
59 views

Testing add-on with Mockery without rewriting all $this->EE->db calls?

I'm attempting to write unit tests for my EE module using Mockery. Throughout my module code I have lines like: $this->EE->db->select('channel_title, channel_id'); ...
0
votes
1answer
47 views

Module: Facebook functionality on publish Tab?

I've been banging my head against the wall with this and I have not found an answer. I am attempting to build an EE application where admin can come in and create a quiz app. I then need to allow ...
0
votes
0answers
55 views

Twitter Failed to validate oauth signature and token

Can anybody help to get resolve this repeated question.. Its driving me crazy.. here, I am sending information, using HTTP header.. Array ( [oauth_consumer_key] => WT1ghlXAzFiABuDRGhcWRu ...
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
34 views

Solspace User - not accepting new members: Error mbr_addon_builder

I am running EE 2.7.1 and User 3.4.0 When a new member resisters the redirect does not work just loads a blank page and the membership does not process.. So I updated the Solspace User to 3.4.5 and ...
1
vote
1answer
142 views

Add custom validation to Content_publish form

In our system, entries are created from the Control Panel, and one of our custom entries needs more complicated validation rules. Basically, depending on the status of the submitted entry, we need to ...
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 ...
2
votes
1answer
67 views

How to include text editor in third party module for CP?

I need to include a text editor in a custom module developed. Can anyone help how to include WysiHat or Rich text editor in a form in the module addon developed?