Questions tagged [channel-entries-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
278 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: $...
0
votes
1answer
59 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 ...
2
votes
0answers
68 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 ...
0
votes
2answers
49 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 ...
1
vote
1answer
113 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 ...
0
votes
1answer
93 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/...
1
vote
1answer
619 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 ...
1
vote
1answer
53 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 ...
1
vote
0answers
75 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 ...
2
votes
1answer
161 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 ...
0
votes
3answers
203 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 ...
1
vote
0answers
135 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 ...
1
vote
1answer
161 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 ...
1
vote
2answers
164 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 ...
0
votes
1answer
36 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) ...
4
votes
2answers
337 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 ...
0
votes
1answer
666 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 ...
1
vote
1answer
152 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 ...
0
votes
1answer
447 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 ...
2
votes
1answer
354 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 = ...
0
votes
0answers
56 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 ...
0
votes
2answers
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 ...
1
vote
1answer
267 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 ...
1
vote
1answer
80 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 ...
1
vote
2answers
197 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 ...
1
vote
1answer
490 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, $...
0
votes
1answer
505 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 ...
1
vote
1answer
397 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}"...
3
votes
2answers
922 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 ...
2
votes
1answer
353 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.