Questions tagged [custom-classes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
110 views

Channel Entry Model Not Saving Custom Fields

EE 5.2.4 I am using the ee model class to save channel entries via AJAX. Everything is working well except for custom fields, which don't save. Here is the code: $entry = ee('Model')->...
Shayne's user avatar
  • 317
0 votes
1 answer
27 views

Class Method Returning Array Tagdata

EE 5.2.4 I'm trying to create an array that can be looped through as tagdata in the frontend template. My method grabs results from an API query, identifies images from the result, assembles them ...
Shayne's user avatar
  • 317
0 votes
1 answer
29 views

Passing Arguments To Class Method Using EE Template

[EDIT: I was able to answer my question. Answer posted below.] EE 5.2.4 I have a class that will query an API using item ID and return data for that item. I am aware that this structure: {exp:...
Shayne's user avatar
  • 317
2 votes
1 answer
228 views

Creating Custom Libraries In ExpressionEngine

In EE I am trying to create a php class that will query an API. When I look at the documentation for creating your own library classes (here: https://docs.expressionengine.com/latest/development/...
Shayne's user avatar
  • 317
1 vote
1 answer
154 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: {...
David's user avatar
  • 123
1 vote
1 answer
304 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 ...
M dunbavan's user avatar
3 votes
1 answer
265 views

GWCode Categories - Custom UL code

I'm struggling with this question again: Classes on list items with GWCode CategoriesClasses on list items with GWCode Categories I'm trying to generate an unordered list with custom classes on the ...
Mark J. Reeves's user avatar