Sorting newsletters by release date

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
westis

Sorting newsletters by release date

Post by westis »

Hi,

I've uploaded newsletters through the Upload module. But now I'd like them sorted by release date (not the date they were uploaded). How can I make a hack to the Upload module to be able to select the month and year when uploading, so that I later can sort by that?

The newsletters can be found at http://www.kisima.org/cmsmadesimple/ind ... ewsletters

Thanks!
Last edited by westis on Thu Sep 22, 2005 10:49 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Sorting newsletters by release date

Post by calguy1000 »

because it's a physical transfer, the date of the file is the same as the upload date, the easiest way is to edit the descriptin (summary) and hten sort by the summary.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
westis

Re: Sorting newsletters by release date

Post by westis »

Ok, that's one way of doing it. Could it also be possible to add a field or two to the database called for example, Month and Year? Then the user can fill these two fields from a drop-down to make it easier to then sort by year and date. 

Of course I'm thinking of how I'd like to use this with newsletters and for most others this might not be necessary. But perhaps there could be a hack mod available for those of us who'd like to add these fields, but have limited knowledge of PHP?

The reason I'd like to use drop-downs instead of the description field is that it is then easier to know how to write the month and year of the newsletter, especially if there are many users.

Also, how can I force validation of whatever field I use to enter the date? Since I use this information to sort the newsletters it is compulsory that there is information in that field.

Thanks for a great module!!
redkevin11
Forum Members
Forum Members
Posts: 29
Joined: Fri May 20, 2005 6:21 pm

Re: Sorting newsletters by release date

Post by redkevin11 »

You might check out the datedfilelist plugin I created today.  I think it has the functionality you are looking for, and it's very easy to manage.

http://forum.cmsmadesimple.org/index.ph ... 738.0.html
Locked

Return to “Modules/Add-Ons”