An ExpressionEngine plugin is a PHP class with at least one method that translates into an ExpressionEngine tag and is used inside of ExpressionEngine templates.

learn more… | top users | synonyms

0
votes
1answer
3 views

no_results in custom plugin?

Is there a way to return 'no results' from a custom plugin with the standard conditional of: {if no_results}{/if} I have resulted to using: if ($query->num_rows() > 0) { } else { return ...
0
votes
0answers
6 views

Output variables in a loop from within an array in custom plugin

The following query: $years_sql=" SELECT YEAR(FROM_UNIXTIME(field_id_34)) AS start_date FROM exp_channel_data WHERE channel_id = 5 GROUP BY YEAR(FROM_UNIXTIME(field_id_34)) "; $query ...
1
vote
1answer
18 views

Add-on Dev: Extending channel->entries and tagdata

I have a search module that grabs locations based on coordinates and estimates distances. I've decided to extend then channel class so I can take advantage of the entries method to display search ...
0
votes
1answer
34 views

Relationship field lookup in an EE plugin?

I'm in the unfortunate position of needing to fix a third-party plugin that was created under contract; the original developers are not available to fix it. From within the plugin, I'll need to look ...
0
votes
1answer
15 views

How to filter by status in a Plugin?

In a plugin, I have this as part of the SQL's WHERE clause: $where_sql = "`store_table`.`channel_id` = {$this->channel_ids->stores} AND ...
1
vote
2answers
17 views

How to include search params in plugin with TMPL->tagparams

I'm building a custom plugin tag pair which returns channel entries, following the excellent answer to this question. Almost everything seems to be working: I set the TMPL->tagparams array to my ...
0
votes
1answer
43 views

Stash forgetting value

I have a plugin which is setting the value of a stash variable based on segment URIs. on my redir/index.html template, I have {exp:hippo_functions:redir} and the contents of my function (stripped) ...
0
votes
0answers
6 views

Issues with Amazon Web Services plugin on EE 2.9.x?

I am having some issues which I think may relate to the Amazon Web Services Products plugin by Hop Studios. It was working fine before my last update, but once I moved to EE 2.9.0 I started seeing ...
0
votes
3answers
32 views

How to make expression engine not encrypt plugin output

I am building a plugin that takes variables from the url's query string and renders out the appropriate category ids, but when I tried testing out a category that I know exists and place the plugin ...
0
votes
1answer
23 views

How do I add a no follow meta tag to expression engine CMS templates?

The SEO agency in charge of my client's website has unearthed a significant duplication issue due to which the business may get penalized. We have setup the expressionengine cms at ...
0
votes
3answers
53 views

Accessing extension settings from plugin throws a PHP warning

I have written a custom add-on which consists of an extension and a plugin. The extension basically loops through a set of channel entries, gets some matrix data and performs a calculation based on ...
1
vote
1answer
18 views

Hook into the channel entry display

If I have channel tags in my template that look like this, is there an available hook to always run before the /exp:channel:entries? I need to have something put at the bottom of every entry ...
1
vote
1answer
27 views

Custom Plugin Won't Work

I'm trying to create a class in EE, but for some reason it just won't work for me. I've even went as far as making it as easy as possible, but I always get: The following tag has a syntax error: ...
0
votes
0answers
25 views

Why am I seeing a page with raw JSON instead of Javascript alerts when using AJAX to submit channel forms?

I am following the example from found in the official documentation here, but instead of remaining on the same page and displaying one of the alert messages on submit, it takes me to a page that ...
0
votes
2answers
28 views

Is it possible to set “global” parameters for a plugin with multiple functions?

I've written a plugin that connects to another service to then display its data within my EE site. Certain parameters are necessary for each tag - primarily things like a key, username. Is there a ...
0
votes
0answers
21 views

Buffer Plugin Output

I have written a plugin and we append messages to the return_data and when the process is finished, the return_data is sent and it shows on the page. function Event_sync() { $this->return_data ...
0
votes
0answers
18 views

Carthrob Realex Redirect - No Notification Emails or Return Page

I am using the Carthrob Realex Redirect plugin from here: https://github.com/CartThrob/cartthrob-payments-realex_redirect Once a transaction is complete, Realex calls the response URL which is: ...
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" ...
0
votes
1answer
29 views

Understanding nested Loopee tag output

I decided to undertake cleaning up some crazy repetitive code using the plugin Loopee, which we are already using. I briefly looked at Loop Plus, but that seems to only handle numbers, so I didn’t try ...
0
votes
1answer
30 views

Entries within entries from a single channel template

Need some help and will try to explain as clearly as possible... I'm redesigning a law site. I have a template group called "attorneys" for each lawyer profile that has tabs holding various info. ...
0
votes
1answer
118 views

Getting NSM Live Look PHP errors, even after uninstalling

I've had issues and PHP errors with NSM Live Look. It's been uninstalled and I thought it was fine, but the client has just informed me that when they try to post or edit an item from just one ...
0
votes
1answer
14 views

Return category info in fixed order

Looking for suggestions for an active plugin or any obvious way to return basic categories info (category name, url_title, and image) with a fixed sort order based on category ids (i.e: sort="3|5|2"). ...
0
votes
2answers
32 views

Possible to access templates from plugin?

From within a plugin, is it possible to access a template? I need to do some processing on the resulting output of a template from within the plugin.
1
vote
2answers
34 views

Batch Uploading & Watermarking?

One of the things we are excited about with expression engine is that watermarking images when uploading is so easy for admins. Unfortunately we have also discovered that files can only be uploaded ...
1
vote
2answers
18 views

Expression Engine Plugin for Changes Log

Is there a way or a plugin that keeps a log of who changed what for pages and templates [and other things if possible]?
1
vote
1answer
61 views

Custom Module: Alternative to Using $this->EE->output->show_message($data) on a Form Submission

I've successfully created a custom module that takes customer information, submits it to Elavon (a payment gateway) and saves the data to a table in the Expression Engine database. Currently, when a ...
1
vote
1answer
47 views

Plugin Development - using template params in a function

I'm querying an external timetable database, and I need to get the start and end points of the journey to use in a hidden field. My template code looks like this: {exp:get_piers:departure_pier ...
0
votes
1answer
28 views

Conditionally returning result from a plugin

I'm writing a custom plugin to tap into an external database, and I'm getting the overall results I want. However, I want to wrap my return values around a conditional to avoid processing unnecessary ...
0
votes
1answer
147 views

Documentation for Shine PDF

I'm using Shine PDF for on the fly pdf creation for ExpressionEngine. Documentation is a dead link. My questions: Does anyone know where I can get the documentation? OR has any one tried and ...
0
votes
2answers
188 views

How do I update or edit an entry using the Channel Entries API save_entry function?

I've looked at the EE Channel Entries API docs, but the save_entry function does not seem to actually update an existing entry, but rather saves a new new entry over it. This seems to be the case as ...
0
votes
0answers
7 views

Running channel entries via plugin [duplicate]

I want to run the entries method of the channel class via a plugin and return results in the same way as running through a template. Is there documentation available on how to do this? thanks in ...
1
vote
1answer
63 views

How can I use third party class in EE to render instagram images on templates?

I have been using an instagram class in projects for Laravel and other small php sites and it has seemed to work well. I include a require_once in my functions file. I then create a function that ...
1
vote
2answers
159 views

Passing Plugin Values to Entries Parameter Woes

EE v2.7.2 Build Date: 20131008 I can't seem to find an elegant solution to make this work. I've setup a channel name "test" with a field named 'test_field' (Text Input). I've created some entries ...
1
vote
1answer
37 views

Antenna plugin - bracket being inserted

I'm using the Antenna plugin to display a YouTube video on a website. The strange thing is that there's a close bracket ')' being inserted after the video. I can't for the life of me figure out where ...
1
vote
1answer
86 views

Problem with ee()->input->post in plugin

The following plugin code works fine for me locally running mamp and php 5.5.3, but returns nothing on our dev server running php 5.5.8: $rating = ee()->input->post('rating'); return ...
1
vote
1answer
43 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 ...
0
votes
0answers
13 views

ipgeo plugin errors

Installing the Clive Zagno IPGEO third-party plugin to EE2 third_party folder, my web page embededded with {exp:ipgeo:country} gives out "webpage not available" error. I tried debugging; however not ...
0
votes
1answer
83 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
34 views

Form Plugin, Call to undefined method EE_Functions::form_declarations()

I am writing a form from within a plugin module using EEE 2.6.1 class Meal_form { public function __construct() { $this->EE =& get_instance(); } public function ...
1
vote
1answer
100 views

ExpressionEngine and generating PDF issue

I have used PDF Press to generate PDFs from data but somehow generated output is rendered ad text/html not PDF which looks like %PDF-1.3 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 ...
2
votes
1answer
72 views

My First Plugin

I am writing my first EE plugin and have finally hit a roadblock. Here is how it looks class Thank_you { public function __construct() { $this->EE = ...
2
votes
1answer
47 views

How to outsmart ExpressionEngine Parse Order?

I need to get this work — how can I code this to get the parse-order I need? {exp:channel:entries channel='{exp:plugin entry_id="{segment_3}"}' … As you can see in the code above: I read out the 3rd ...
-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.
0
votes
1answer
47 views

Member Badges/Achievement?

Had anyone come across developing Member badges in Expressionengine? I am developing a site, when a member do such activities such as Creating Entry Leaving Ratings Leaving Comments Making 10x ...
1
vote
1answer
29 views

Plugin returning wrong value for numbers that start with 0

We have a plugin that takes orders from CarthThrob and then creates a special file for the distributor. This plugin grabs the order information and converts it to a special file type and format they ...
0
votes
2answers
182 views

EllisLab CRON plugin usage

The documentation on this plugin is lacking, and I was wondering how to utilize it: Source: https://github.com/EllisLab/Cron/blob/master/cron/pi.cron.php Devot-ee: ...
1
vote
1answer
42 views

Structure Won't Appear in Control Panel Anymore

Made a rookie mistake and deleted Structure from the server before uninstalling it first from the EE CP. Now, after I've reuploaded it, it still won't appear. I've tried going into the config file and ...
0
votes
1answer
31 views

Plugin using tag pairs as “parameters”. Possible?

Is it possible to use tag pairs as parameters? Take the code below {exp:utilities:foo} {qux}abcdef{/qux} {lux}12345789{/lux} {/exp:utilities:foo} Normally, using parameters, you are going ...
3
votes
2answers
110 views

Custom Member Variables in Admin Notification Email?

SCROLL FOR NEW EDIT I understand that EE does not currently have functionality to show you anything beyond the basic member variables in the email notifications (such as username, etc). I have ...
3
votes
3answers
111 views

How to check for a boolean field?

I am writing a plugin, and everything is working fine so far. Some of my source data includes booleans. So I want to be able to test for true or false. {if show_data} <p>This is some ...