Questions tagged [custom-classes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
71 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')->...
0
votes
1answer
23 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 ...
0
votes
1answer
26 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:...
2
votes
1answer
151 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/...
1
vote
1answer
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: {...
1
vote
1answer
284 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 ...
3
votes
1answer
248 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 ...