Closed (fixed)
Project:
SWFUpload
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2009 at 08:47 UTC
Updated:
3 May 2010 at 21:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
botanik commentedSorry, i forgot insert code tags =)
insert
<img ... />or [img ... ]Or may be create more themeable opportunities .. not only table, custom fields .. for example, i want create vertical block (div with width 50-70px) and add vertical mouse wheel scroll, but i can`t find solution for override this module theme.
Comment #2
skilip commentedHi botanik,
Thanks for your suggestions. I have been thinking about adding a thumbnail to uploaded images too. To make the current list (table) themeable is definitely a no-go at the current phase of the module. It simply is too complex to allow other modules or themes to override it. Think only about the markup which is needed to place the flash swf movie in.
Nonetheless you also have the form element which you can use to create your own view. This is really flexible. In README.txt is a description on how to use this.
I'll keep this issue open to keep this suggestions in mind.
Comment #3
botanik commentedYes of course, how theme form element I know and look all hooks where find many opportunities. In hook_swfupload i can change $instance in init section .. but i didn`t know how add a new column in table where i can display path to file.
in JS file function "replaceMacros" has only this array "var macros = {'{filename}':file.name, '{fid}':file.fid};" and insert filepath impossible =(
And just one question:
Why if I change in my hook "$instance->elements['description']['default_value'] = 'QQQ';" in browser files descriptions has other text?
PS
My idea is to make simple tool to add images into textarea. IMHO, this module is best solution at this time, but i want that it look like as http://drupal.org/files/issues/snapshot4.jpg, for example.
Comment #4
skilip commentedThis is added in 6.2