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

Plugin tags not being parsed properly when templates are set to be saved to the database and not files

I created my site by saving all templates to files. I read somehwere though that once the site goes live you should synchronise all of your files with the database and then turn off the ability to ...
0
votes
0answers
49 views

Matrix really slow

Matrix v2.5.5 / EE v2.6.1 / PHP v5.3.3 {exp:channel:entries channel="assets" entry_id="16"} {test_matrix} {cell_1} {/test_matrix} {/exp:channel:entries} It takes 17 seconds to load ...
1
vote
2answers
29 views

I upgraded my site from 2.1 to 2.6 and I get this error when trying to go to feildtypes

Unable to load requested field type file: ft.rel.php. Confirm the fieldtype file is located in the expressionengine/third_party/ directory
0
votes
1answer
24 views

Deprecated hash replacement

EE is warning about a deprecated function from the NCE LDAP plugin: $encrypted_password = $this->EE->functions->hash(stripslashes($user_info['password'])); I see the replacement below, but ...
0
votes
3answers
26 views

Using a module tag as parameter adds +1 query per loop

I'm finding that if I use a module tag like stash or playa as a parameter in a plugin tag, that an extra query for the module name is run for each loop. Here's the query that's run: SELECT ...
3
votes
2answers
29 views

Random String Returned on Plugin

I have a simple plugin that runs a query and returns a single value. {exp:company_id id='{segment_3}'} This outputs a number such as 5081 If I do this: {preload_replace:cid="{exp:company_id ...
1
vote
1answer
24 views

Conditional Tags Based on EE Tag Value?

I am coding a plugin for our company's stock price. I am determining growth as such: public function __construct(){ $this->EE =& get_instance(); $fp = fopen ...
0
votes
1answer
25 views

Wrong date being parsed

I am using ajw feedparser to output a feed from Songkick. It has been working correctly up until recently but now the date is showing as a day earlier than it should eg. 15th April instead of 16th. ...
0
votes
0answers
29 views

need to create v1.7.x plugin for pulling data from an oci8 database into template

I've used oci8 databases in CodeIgniter applications in the past, but before I have never connected to a database in EE plugins I have written in the past. I imagine I could use the database class to ...
1
vote
1answer
28 views

Entry ID Returned From Plug-In Not Working in Channel Entries Tag

I've written a custom plugin which I call repeatedly (via a channel:entries tag) to store a list of entries in an array. (BTW, you have to set up a separate singleton class to do that, as the plug-in ...
2
votes
0answers
27 views

Creating an instance of Expression Engine 2 plugin class from template

I have created an EE2 plugin under third_party folder and it succesfully shows up in Plugins list @ backend. Now, is it possible to create an instance of that plugin class directly from a template as ...
3
votes
1answer
82 views

Custom column creation for template and plugin

I have a homepage template that I manually change and there are rows with 3 columns each. Each column is a topic with entries. I wrote out some PHP to programmatically to create these rows and ...
1
vote
1answer
30 views

How to create a global configuration page for my custom field type?

I have created a custom field type which integrates with a web service. I need to create a simple interface which allows the User ID and API key to be configured globally. Will I need to create a ...
2
votes
2answers
37 views

How do I install Safecracker?

I've just discovered that Safecracker isn't in the list of modules for the site I'm working on. How do I install it? I'm using EE v2.1.3
0
votes
0answers
23 views

Categorization of Cities and Performance

Good Morning. I was hoping to get feedback on what might be a best practice or the best way to approach a new site. What I'm trying to accomplish is build a business directory of doctors in different ...
-2
votes
1answer
34 views

How do Expression Engine plug-ins query and return data when the 'dynamic=' parameter is set to “no”?

When I return "entry_id" from my plug-in, I do not want to fetch the "entry_id" of enclosing parent tags. Channel entries tag does this. How does it work? Thanks.
3
votes
2answers
46 views

Plugin development: How do you support date formatting in parse_variables?

I'm trying to support date formatting of a tag's output, per the Plugin Development & Template Class documentation. I have this code on the backend, with some redundancy on the timestamp value to ...
0
votes
1answer
29 views

Expresso Store - Multiple shipping addresses?

I know I can use different shipping and billing addresses for an order, which is stored by member purchasing but I wanted to see what was the best way to: have one billing address, and be able to ...
1
vote
2answers
56 views

Plugin Development Beginner Question

I'm new to add-on development and have built a simple plugin to return an integer of the number of entries a user has posted in a certain channel. I want to call this plugin a few times in an EE ...
2
votes
2answers
33 views

Output plugin result as template tag

I have read ExpressionEngine documents and I am fairly comfortable while creating plugins. However I had a requirement in which I wanted my plugin to output data as a template tags. Like, ...
1
vote
3answers
39 views

Field to select an existing page

Does anyone know of a custom field that will allow the user to select an existing page from the site? Throughout the site are going to be little snippets of information that will link through to ...
1
vote
2answers
66 views

Redirect 301 if url title present

Let's say we have a url: http://example.com/section/my-url-title we want to enure that the {url_title} is not used in the URI. We have changed all template tags to point to the {entry_id} instead. ...
4
votes
2answers
55 views

Replace a variable within a plugin tag pair?

So if I have a plugin, with a tag like this: {exp:reggy mask="yes"} {head-type} {/exp:reggy} And I want to replace {head-type} with "horse mask" in the plugin code, how do I do that? EE docs ...
0
votes
0answers
42 views

Infinite Scrolling died after updating to 2.5.5

I was using an EE plugin called “Infinite Scroll” and after updating to 2.5.5 it stopped working. I’ve been trying (unsuccessfully) to get a hold of the plugin developer to see if it works for him in ...
1
vote
1answer
30 views

Search channel from non 'channel_data' database table in low search

We are building a plugin that uploads content via a cron and updates the database. However because of the volume of data involved we decided against using the channel data tables, where we have quite ...
2
votes
1answer
18 views

Run extension on page refresh?

I am new to plugin/extension development in EE. I currently have an extension that creates a cookie and saves a value to it. What I want is on every page refresh this value to be updated. Is there a ...
0
votes
1answer
24 views

JSON output thumbnails and other image sizes

I'm currently using this plugin: http://devot-ee.com/add-ons/json It does pretty much everything I want it to-do but unfortunately it doesn't out put images and all the different versions of that ...
2
votes
2answers
38 views

Is it safe to get all tag params in one go with $this->EE->TMPL->tagparams?

Apologies if this is very obvious for experienced addon devs, but I'm experimenting with writing more bespoke plugins rather than gluing together other people's... I know the official way to fetch ...
3
votes
3answers
56 views

ExpressionEngine snapshot add-ons?

My client is forever concerned with making big changes in EE. For instance, using Structure to reorder pages, or renaming entire sections of the site. I'm wondering: Are there any add-ons that can ...
1
vote
1answer
20 views

How to use images from themes/third_party folder in a plugin?

I am writing a simple plugin and I want to use some images within the plugin. I assume that the *themes/third_party*-folder is the right place for those. How can I use them? I cannot link to them ...
2
votes
1answer
52 views

plugin value in a template conditional

I've frequently done this with success: {if '{exp:my_plugin:my_method}'}My method returned true{/if} Or the opposite also works: {if '{exp:my_plugin:my_method}' == '0'}My method returned ...
3
votes
2answers
99 views

How to create a plugin which returns channel entry data

I've created a plugin that gets the entry_id's of the most popular selling items in the exp:resso store. I'd like to extend it by letting a user loop through each of those entries and output them on ...
0
votes
3answers
44 views

Output jQuery value in EE tag

I want to output the width of the window in a tag. So for example: {exp:resolution:width} {width} {/exp:resolution:width} Where {width} would display the width from my jQuery. ...
0
votes
1answer
33 views

Login User without a password

So I'm attempting to create a small plugin/module where I can log in a user with the need to have a password, login with Facebook basically (Yes, I know there is a plugin that does all this). I was ...
2
votes
1answer
103 views

“On This Day” Plugin for EE2?

Someone named Yoshi Melrose wrote a plugin for EE1 called "onthisday" which I'm using on my EE1.7.1 sites. I'd like to migrate those sites to EE2 and this functionality is a key requirement. I'm ...
2
votes
2answers
60 views

Automatic double spacing

Is there a already a plug-in out there that will auto-magically check all content for double spaces after a period and force double spacing if not there? I know there are some out there like Low's ...
1
vote
2answers
57 views

How/where do I place commonly used functions across multiple plugins?

I have 2 or 3 custom plugins that I'm using on a project. In each file I have a number of 'helper' functions (is this the correct terminology?) that perform a task that might be required in a few of ...
3
votes
1answer
39 views

fetch_param when you only know a portion of the param name

I'm working on extending the external_entries plugin to support a SQL LIKE clause, using the "searchlike" param that was mentioned here: As and example if I wanted to find all rows of an external ...
2
votes
4answers
99 views

How to 'embed' a template from within a plugin

In a plugin is it possible to output the equivalent of {embed="my_template"} if a certain condition is met? My site index file is as follows at the moment, with php enabled and set to input: ...
2
votes
2answers
80 views

Defining relationships in a plugin

I was wondering if anyone could point me in the right direction. We've got a custom plugin that we use with ExpressionEngine that connections to a 3rd party CMS system and grabs all relevant content ...
6
votes
1answer
63 views

Use core EE class in an add-on

I've got a custom plugin that I'm using to do some PHP work for a project. I'm looking for a way to run some of the category methods in the Admin_content class. Are add-ons able to use this class? If ...
1
vote
1answer
60 views

How to create a custom Widget for the Widgets add-on

I am creating a selection of additional widgets to be used with the Widget addon. The widgets addon detects widgets that are placed into the following directory structure: ...
2
votes
2answers
123 views

How can I manually parse template code from PHP?

Is there a way to evaluate an ExpressionEngine template using PHP in a custom plugin? I am using the Widgets plugin and want to create a custom widget type. I would like to define the widget output ...
10
votes
3answers
164 views

If I add a plugin like Widon't to nearly every content field on a page, will performance be impacted?

I have a tempermental layout (and client) that seems to cause many widows in my content blocks. I'm planning to make use of Low Widon't to correct this programmatically but before I do, wanted to ...
4
votes
1answer
87 views

Deleting members / Changing Author of multiple entries

I used zoo member/safecracker to allow registered members submit 1 entry (application form) a few months back. I now need to open this form back up for submissions again. I need to save the original ...
3
votes
1answer
67 views

New 'Category' Hook or Action?

When adding/deleting/editing a category in the CP, I would like to send that data to Mailchimp (where I ultimately will have the same categories) How can this be achieved? Using a Action or a Hook? ...
2
votes
2answers
84 views

Plugin help; Cannot redeclare fatal error

I'm writing my first plugin in attempt to learn more about the backend of EE and Codeigniter. My PHP is enough to get by, but I'm no expert. This plugin is as follows: <?php if ( ! ...
1
vote
4answers
73 views

CE Tweet Plugin set up issue

Unfortunately the documentation for CE Tweet is unclear so I would like to query the set up and to be guided in the right direction. How do I configure my twitter account details into the plugin? As ...
5
votes
4answers
59 views

mx_jumper contents not available outside channel:entries tag

I'm trying to set some mx_jumper content from within an {exp:channel:entries} tag, and then output it somewhere else on the page. The page is an entry page and available on a url such as: ...
1
vote
1answer
60 views

Plugin: allow_eecode - needed or not?

Has the ability to use and parse {exp} tags within custom fields been absorbed into the EE system proper, or is the Allow EE Code plugin still needed to do this? If it's still needed, might you be ...

1 2