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

Home: Products: CMS Builder:
Archive Uploads

 

 


justritedesign
User

Jun 30, 2008, 3:00 PM

Post #1 of 3 (192 views)
Shortcut
Archive Uploads Can't Post

I don't know if this has been addressed before.
I would like to create a page that has a set of uploads (say PDfs) and when the time comes to archive a particular document all one would have to do is modify the listing and click a checkbox (having a field name of "archive") at that time the document would appear in an archive list somewhere else on the page or another page that just looks to list out the archived items.
I can add the field to the section but what would the code look like to just list the archived items?
Michael Moyers
Owner/Administrator
Just Rite Design & Just Rite Productions
A growing network of professionals in Web development, Programming, Graphic Design, Flash, and Audio and Video Productions


Dave
Staff / Moderator


Jun 30, 2008, 4:08 PM

Post #2 of 3 (189 views)
Shortcut
Re: [justritedesign] Archive Uploads [In reply to] Can't Post

Hi Michael,

You're on the right track. Add a checkbox field called "Archive".

Then for your non-archive viewer add this where clause:
'where' => "'archive' = '0'",

And for your archive viewer add this where clause:
'where' => "'archive' = '1'",

Hope that helps, let me know if you need more help with that.

Dave Edis - Senior Developer
interactivetools.com


justritedesign
User

Jun 30, 2008, 4:51 PM

Post #3 of 3 (185 views)
Shortcut
Re: [Dave] Archive Uploads [In reply to] Can't Post

OK WOW
It was much easier that I thought.

Thanks Dave!

Cool
Michael Moyers
Owner/Administrator
Just Rite Design & Just Rite Productions
A growing network of professionals in Web development, Programming, Graphic Design, Flash, and Audio and Video Productions

 
 
 


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