EE Forum,
I am Using Expression Engine v.1.6 (Full/Not Core) on a Non-Profit License.
THE GOAL: I am going to link to last week’s sermon/message on the front page of our church website, and have a single MP3 dynamically (from a “weblog” entry) play in a Flash MP3 player.
Sometimes in our sermon/message “weblog” we would like to occasionally mention messages that are coming up and don’t have an MP3 file connected to the “weblog” entry. This is where my problems begin. Meaning, we could have 1st, 2nd, or 3rd latest entries that MAY NOT have a MP3 file YET in the MP3 template field.
If we choose the latest weblog “MP3” entry from the “weblog”, and it doesn’t have an mp3 file connected to it, how can we [with conditions] tell the player the following:
1. Skip it, then,
2. Play the most recent “weblog” entry (sorted by date) that HAS a “weblog” entry that doesn’t have the “MP3” template entry field as empty.
I don’t want to create [ideally] another feed separate from our podcast feed (so this would be a double-win).
I’m not that great at PHP/EE conditionals, so I’d appreciate ANY input on some options on what I want to accomplish. Thanks in advance.
Knuckle007