 |

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
|
OK WOW It was much easier that I thought. Thanks Dave!
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
|
|
|  |
|