Uploads module, questions concerning templates, formats etc.

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

Uploads module, questions concerning templates, formats etc.

Post by Connie »

Hi!

I am using CMSMS 1.4.1 and I installed the uploads module from the repository today, so I suggest I use the newest version.

Now I run into some questions, where I find no answers:

Please help me out!

1. the file-date is not formatted, how to get it to use %d.%m.%Y or the default CMSMS-date format?

2. how to format by Css the forms? I tried for 4 hours now to format that stupid textarea in the input form, see here:
    http://www.webdeerns.de/demos/cmsmadesi ... pload.html

  It is not accepting the format from the css definition

3. how to offer a select-list of available categories for upload? I could not find any template for that ...

thanks in advance!

Connie
xnau
Forum Members
Forum Members
Posts: 33
Joined: Sun Apr 15, 2007 6:53 pm

Re: Uploads module, questions concerning templates, formats etc.

Post by xnau »

Hi, Connie,

I came across your question because I was having the same problem formatting the description textarea.

What I found can be of use to you if you don't mind editing one of the module files: function.default.uploadmode.php

on line 95 find:

Code: Select all

$smarty->assign ('input_description',$this->CreateTextArea(false, $id, '', 'input_description' ))
The "CreateTextArea" method can accept many arguments, so we just find the ones to define the "columns" and "rows". In this case those are the 9th and 10th arguments, so for me I did this:

Code: Select all

$smarty->assign ('input_description',$this->CreateTextArea(false, $id, '', 'input_description','','','','',51,4 ))
That gives me 51 columns and 4 rows. The empty strings are to skip over the arguments we aren't using.

Hope this is helpful. Your other questions...I don't know.
Connie

Re: Uploads module, questions concerning templates, formats etc.

Post by Connie »

thanks, xnau,

that might be a way, but unfortunately these patches are overwritten by any update and I can not keep track of all patches I added at client websites ...
who stops them from updating and overwriting the patches? And then they come and complain...


that's why I prefer to use CS for styling textareas....

but thanks, I will add that to my personal wiki... not to forget it...

have a good time!

Connie
Locked

Return to “Modules/Add-Ons”