Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
publishDate

 

 


webshack
User

Apr 6, 2008, 10:24 PM

Post #1 of 3 (198 views)
Shortcut
publishDate Can't Post

Is there a way to prepare a future version of a record and have it publish on a certain date BUT still retain the previous version until that date?

I have a client who has a page on his site that will be changed weekly. He would like to be able to edit the page content in advance but then set a specific date/time that the page content will change from the "old" content to the "new" content. This way, he can work on the site changes throughout the week and have it ready to launch at 12:01 AM Monday morning.

I tried using the publishDate feature, but that makes the entire record unavailable until a certain date. I still need the record to be displayed on the site - just not the new updates. Does that make sense?

Thank you!!


Dave
Staff / Moderator


Apr 7, 2008, 7:48 AM

Post #2 of 3 (180 views)
Shortcut
Re: [webshack] publishDate [In reply to] Can't Post

Hi webshack,

Is it just one page? Or one page within a multi-page section? If it's just a single page then you could have a list viewer, set it to display just one record per page and sort by date and show page 1 like this:


Code
$options['perPage'] = '1'; 
$options['pageNum'] = '1';
$options['orderBy'] = 'date DESC'


then remove the prev/next links. Then the client could create multiple pages and only the newest one (that was past the publishDate) would be displayed. The url would stay the same and at midnight monday morning it would switch over to the newer record.

Would that work (and does it make sense)? :)

Dave Edis - Senior Developer
interactivetools.com


webshack
User

Apr 12, 2008, 2:01 PM

Post #3 of 3 (145 views)
Shortcut
Re: [Dave] publishDate [In reply to] Can't Post

THANK YOU - this worked!

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4