Questions tagged [channel-entries-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Trying To Get Categories Per Entry ID

I'm doing headless coding. I have been using the ?ACT=40 API to get entries, doing something like: ?ACT=40&url_title=my-entry-slug to get JSON of a single article. However, it doesn't list for me ...
Volomike's user avatar
  • 111
2 votes
2 answers
528 views

Model Service ChannelEntry relationship fields

I can't figure out how to save (or retrieve) relationship field data using the Model Service. I can save flat fields with out an issue (and retrieve them). So when retrieving an entry like this: $...
jrothafer's user avatar
  • 5,900
0 votes
1 answer
61 views

Clearing the cache via API

The Expression Engine documentation for caching explains that the caches are automatically cleared upon: Submission, updating or deleting of an Entry through API I need to clear the caches via my ...
ccdavies's user avatar
  • 455
2 votes
0 answers
73 views

EE Timesout when adding or deleting an entry

I have upgraded from 2.1 to 2.11.6 and I am running into an issue from the admin control panel where if I add an entry or delete an entry it timesout. I have the timeout set to 2 minutes. It still ...
Chris's user avatar
  • 147
0 votes
2 answers
63 views

Creating entry with channel entries api, redirecting to empty view page

I am on EE 2.11.2, and I am using the Channel Entries API to create a new channel entry after a user submits a form on the front-end. It saves the entry just fine, but when I redirect the user to the ...
Gary Reckard's user avatar
1 vote
1 answer
132 views

Updating an entry field, without updating every field

Using the Expression Engine Channel Entries API, is it possible to only update 1 field? Using the below code, it appears you have to grab all the field data and then re-add it to the fields. Is it ...
ccdavies's user avatar
  • 455
0 votes
1 answer
102 views

Channel Entries API Error: Undefined property: EE::$stats

This error appears during execution of the Channels Entry API in an API extension: A PHP Error was encountered Severity: Notice Message: Undefined property: EE::$stats Filename: api/...
EXODev's user avatar
  • 49
1 vote
1 answer
693 views

Channel Entries API/Model: Get created Id or Entry by Field Name

I hope that I can explain this succinctly. Platform is EE 2.10.1 (this is a sandbox, live version will be on 2.11.1). I am working on an extension which is using Solspace's User Module's ...
EXODev's user avatar
  • 49
1 vote
1 answer
62 views

Duplicating an entry based on entry_id

I'm having a small issue creating a script that take in an entry_id, and based on that creates a new carbon copy entry with a new entry_id. I've got this working, however as it stands now i'm forced ...
ipixel's user avatar
  • 247
1 vote
0 answers
78 views

Channel Entries API title issue

I'm using Expression Engine's Channel Entries API and am having an issue with it. User can add credits to their name. The storing of these credits work fine. If they choose to update their profile ...
Rien's user avatar
  • 71
2 votes
1 answer
209 views

How to create a button on the Entry Edit page?

Basically, what i'm attempting to do is create a [button] right next to the entry save/submit button that will grab the current entries entry_id and pass it to a page we control. I'm staring at the ...
ipixel's user avatar
  • 247
0 votes
3 answers
249 views

How to import API data into EE

If I wanted to consume API feeds (restful) and import that data into EE as entries, is that possible? Ideally I would like to import a bulk amount of channels (once only), then a bunch of categories ...
user6130's user avatar
1 vote
0 answers
143 views

Matrix Fields and Channel Entries API Update

My website has a custom module (created by someone else), that pulls in third-party data from an API and uses the Channel Entries API to add or update new entries in ExpressionEngine. Recently, we ...
IME's user avatar
  • 11
1 vote
1 answer
172 views

How to create a Channel Field Group using API

I am creating an extension where on install I am creating a Channel and adding Fields to the Channel using the EE API. I have found all the API functions to do this but the one thing I have not found ...
Trevor Orr's user avatar
1 vote
2 answers
168 views

How to submit Expresso/DevDemon Store data via the Channel Entries API?

I've got a project where I need to automate the process of creating entries. I'm doing so using the ExpressionEngine Channel Entries API but as part of that I need to set a price for the entry in the ...
Nathan Pitman's user avatar
0 votes
1 answer
39 views

Relate EE Entries with Location (Region/City/Place)

What is best way to relate EE Entries with location (Region/City/Place) example 1. Entry of Simba National Park, 2. Then i choose park category (Game Park, Beach Park, Cultural Park, Mountain Park) ...
Paultz's user avatar
  • 1
4 votes
2 answers
357 views

How do I save a relationship field with save_entry()

I need to use the channel entries API to save a relationship between two channels. I create an entry to channel A and then I create an entry to Channel B, channel B has a relationship field that ...
Alejandro Pereda's user avatar
0 votes
1 answer
704 views

entry_submission_end hook with ee()->api_channel_entries->save_entry

EE v2.9.0 Build Date: 20140715 This error displays about 44 times after submitting an entry with a white screen when using the entry_submission_end hook. I have roughly 20 field types enabled, and 37 ...
Bransin's user avatar
  • 319
1 vote
1 answer
154 views

How to insert matrix rows data using channel API?

How to use channel entries api for creating channel entries which contains matrix field, I have a channel which contains some text fields and one matrix field.The channel api works fine when I insert ...
Nisar Uddin's user avatar
0 votes
1 answer
482 views

how to upload image and create channel entry using simple html form in expression engine

how can i upload image in a channel using simple html form and create a new entry for every individual entry in channel. i can't use channel form due to some issues so i have to upload it with simple ...
user3440483's user avatar
2 votes
1 answer
363 views

Can't update an entry using Channel API without including title

I'm trying to update a channel entry using the Channel API function save_entry. ee()->load->library('api'); ee()->api->instantiate('channel_entries'); // Create input array $data = ...
Owen Kavanagh's user avatar
0 votes
0 answers
58 views

Is it safe to initiate a temporary session in plugin for use with the Channel Entries API?

I have a plugin that will accept posted form data from a member group and then create or update a channel entry which that member group is not given permission to post or update in (via the control ...
positlux's user avatar
  • 607
0 votes
2 answers
1k 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 ...
positlux's user avatar
  • 607
1 vote
1 answer
270 views

How to use EE classes like DB,channel API from a php file

I have a requirement in one of my EE site wherein I need to insert some data in tables and make some channel entries using EE channel API,I am able to do this within a EE template using database class ...
Nisar Uddin's user avatar
1 vote
1 answer
84 views

ExpressionEngine API - get channel entries to show on different site

I have a news on my EE site, it's http. Then i have another site that run on https. I want to show my news entries on my https site, remembering that https cannot iframing http page, i think i can use ...
user2942's user avatar
1 vote
2 answers
208 views

Cloning Entries With Matrix Fields

I need help with cloning an entry that has matrix fields for photos. Entries are made/edited using Channel Forms. The clone is generated using an extension to the channel_form_submit_entry_end hook ...
John de Beer's user avatar
1 vote
1 answer
508 views

ee()->api_channel_entries->save_entry() $data argument

Based on the documentation, here is the signature for the method that inserts a new entry or update an existing one. ee()->api_channel_entries->save_entry($data, $channel_id, $entry_id, $...
developarvin's user avatar
  • 2,347
0 votes
2 answers
523 views

Fetch entry using PHP

Is there a way to get an entry using only PHP? I've looked at the developer API, http://ellislab.com/expressionengine/user-guide/development/api/api_channel_entries.html, but there doesn't seem to be ...
peirix's user avatar
  • 117
1 vote
1 answer
498 views

Store API Rest response in entry form with PHP

I'm trying to save an API Rest response in entry with PHP. This is the functional PHP script: {exp:channel:entries channel="products" limit="1" require_entry="yes" entry_id="{segment_3}"...
Alessio Terry Masucci's user avatar
3 votes
2 answers
1k views

getting data into ExpressionEngine via Channel Entries API

So I'm building a site just now that isn't EE, however, I thought this would be a good time to learn how to get data into EE using the Channel Entries API when I'm under no pressure to get the job ...
Steven Grant's user avatar
  • 2,473
2 votes
1 answer
362 views

Channel Entries API and entry to a Category

Is it possible to add entries into categories when creating them with the Channel Entries API cant see anything in the documentation.
Anthony Ifon's user avatar