ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How do I log new/updated entries?

November 02, 2011 5:29pm

Subscribe [2]
  • #1 / Nov 02, 2011 5:29pm

    Jazzerus

    5 posts

    A client wants their EE site modified so they get a feed of updates.  I have no idea how to do that, so I’ve come here to hopefully get some idea of how to do it.

    —-

    Here’s a list of the things they want to track:

    Brands

    1) In one of the channels, “Brands”, there’s a custom field for a price list .XLS file.  They want to track when a new version is uploaded.  Each updated file should be listed as a separate log entry.

    2) One of the channels is “Brand Downloads”, entries in the channel are related to a particular brand via a Playa relationship. They want to track when a new entry is created. New entries should be grouped by Brand and the date on which they were created. (So if 4 files get added today, there would be one log entry listing all 4.)

    Other Sections

    3) They also want track when a new entry gets added to one of the other 5 channels.  These are all regular channels; no special relationships here.  One log entry per new channel entry.

    —-

    When we originally built the site, the client wanted to assign specific brands to a specific user, so we created a module that does just that. 

    When it comes to Brands and Brand Downloads, a user can only see updates for brands which they are assigned.  The client also wants to email users when these updates are made.

    All users can see the updates for the other channels. No emails are sent for the other channels.

  • #2 / Nov 03, 2011 4:52pm

    dstechroom

    113 posts

    Sounds like you’ll need a custom extension that hooks into the Channel Entries API.  A good place to start would be the Channel Entries extension hooks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases