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
Uploads module, questions concerning templates, formats etc.
Re: Uploads module, questions concerning templates, formats etc.
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:
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:
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.
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' ))
Code: Select all
$smarty->assign ('input_description',$this->CreateTextArea(false, $id, '', 'input_description','','','','',51,4 ))
Hope this is helpful. Your other questions...I don't know.
Re: Uploads module, questions concerning templates, formats etc.
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
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