We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Channel Entries API help

Development and Programming

tobycatlin's avatar
tobycatlin
4 posts
12 years ago
tobycatlin's avatar tobycatlin

Hello everyone,

So I am writing a new module that will display a list of downloads to our user. Nothing crazy right? The list of files comes from a XML feed on another file server. Still not crazy? So I created a new channel to hold the downloads and used the channel entries API to add a entry for each download them after parsing the XML. Any need to get the electro shock treatment out? As the downloads are permissioned I wanted to create a new set of template tags to pull out all of the entries in the download channel and filter them according to a list of permissions already attached to the user and this is where I feel I am going mental.

There appears to be no get_entries method in the channel entries API. Just a something that will return all entries for a channel.

Am I missing something? and there is a nice, easy clean way to get a list of entries without messing about with the horror that is the exp.channel_data table. Should I be storing my data in a custom table?

thanks for any help Toby

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.