Page 1 of 1

Help with FrontEndFile Management(Uploads) options

Posted: Sat Sep 07, 2013 5:21 pm
by forest-guy
CMSMS: 1.11.7
Uploads 1.16.11
PHP 5.5.3

I don't know if this is possible... but I have a category for newsletters. All the filenames start off with year.mo (i.e. 2004.01) to indicate the year and month it was published. What I would like to do is use a filter of some sort so that I could simply display in the summary listing just those files that begin with a certain year. I have tried using the filter="" option but nothing I enter seems to work - I get everything in the category. I have read the help and searched the forum for a little insight as to what sort of coding is being expected to no avail. Heck, I may not even be understanding what the filter is to be used for.

On the same vein - when I use the option: no_initial="1" - everything seems to blow up, returning: Error: at line 702 in file C:\xampp\htdocs\www.agmc.info\lib\smarty\sysplugins\smarty_internal_templatecompilerbase.php:

Any help of the format of the filter value - or baring that doesn't function they way I think it should - any ideas on how to accomplish my selection issue?

Thanks in advance.

Re: Help with FrontEndFile Management(Uploads) options

Posted: Sat Sep 07, 2013 5:59 pm
by calguy1000
There is no current way in the Uploads module to filter by filename via the tag.

Re: Help with FrontEndFile Management(Uploads) options

Posted: Sat Sep 07, 2013 6:36 pm
by forest-guy
Bummer.
Thanks CalGuy1000.

If you don't mind my asking - what is the filter= option used for, and how is it formated?

Looking again at FrontEndFile Management - I see I can create a field that I can populate for each file. If I created a field named "year" and populated it with the year of publication. Could I somehow use that as a filter for selecting a single years worth of publications?