Auto update element

Hello, I wonder if anyone knows if it is possible to create a simple auto-updating text element that acknowledges the current date. Specifically, I would like to save myself the hassle of updating events on the home page of the (linked below) film website so that after a film screening date has passed the film title is replaced with the upcoming title and its date. Not only to save hassle but if I’m not available I’d like the information to continue to update itself so that there isn’t a gap in the information. Is this a pipe dream?

Currently the next film information is a WebYep element that I manually update but it doesn’t have to use Webyep.

Any thoughts welcome. Thanks.
Pete

http://www.presteignescreen.org.uk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Certainly you can do this with PHP quite easily

Couple of examples

http://www.deltadesign.co/fw_examples/php/picofmonth.php

http://www.deltadesign.co/fw_examples/php/daily-deals.php

I’ll try and post a link to a FW file later.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Yes it’s possible, unless I completely misunderstand your question.

Swapping content by date is nothing new but it’ll require storing the upcoming events somewhere, and the most obvious place is a database of some sort.

How to get the upcoming events into the db? You probably don’t want to manually edit the db so you need some sort of basic UI, a web form, to write the events to the db.

Once the data is stored it can be accessed and manipulated on the front-end however you like (by date etc.).

Of course, if there’s a simpler way to do it I would be interested.

Todd
Office (Chicago): 312.212.3955


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Here are a couple of examples. One for a monthly pic and the other for a daily deal.

Download the file from http://www.deltadesign.co/downloads/POMArchive.zip

http://www.deltadesign.co/fw_examples/php/picofmonth.php

http://deltadesign.co/FW7Test/daily-deals.php

Between these 2 you should be able to get what you want. If you get stuck then give us a shout but in the case of php pages online we cannot read the underlying php code in the same way we can html so you will have to share that with us.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Really good of you, David. Thanks. I’ll give it a look and see if I can get my head round it.

Cheers
Pete


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options