Skip to main content
4 votes
Accepted

Creating Custom Libraries In ExpressionEngine

Have you created all the necessary files for your add-on? I'm not sure EE will look for your library file in an empty add-on folder. You need to make sure you have an addon.setup.php file at least, ...
jrothafer's user avatar
  • 5,900
3 votes
Accepted

Channel Entry Model Not Saving Custom Fields

You may be using the incorrect field name. You can't access it via its short name, it has to be by it's field_id. Here is an example of how I do something like this: // these are usually set at the ...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

Class Method Returning Array Tagdata

I believe key should be name of variable. so instead of 0..1..2 it should be and array. Also, parse_variables use for loop. I belive you have single item and loop for sub item (images), You should ...
Mufi - Amici Infotech's user avatar
1 vote

Passing Arguments To Class Method Using EE Template

I have found the answer to this. In the template: {exp:my_class:my_method asin='{product_asin}'} In the class: class My_class { function my_method () { $asin = ee()->TMPL->...
Shayne's user avatar
  • 317

Only top scored, non community-wiki answers of a minimum length are eligible