Hi,

I've been trying to get this module to work for awhile now. I can activate it and see all the options for setting thumbnails and all that jazz. I don't really care about any of that; I just want it to "beautify the drupal attachments section" as advertised. The problem is that everything still looks the same. I get the "attachments display" options, etc. but when I got to create content I still get the collapsed File Attachments that opens up into the horrid drupal look.

To debug, I located the function _itweak_upload_upload_form_alter() and added a var_dump to see if it was working:

var_dump($form['attachments']);

This resulted in the following output:

array(3) { ["#collapsible"]=> bool(false) ["#collapsed"]=> bool(false) ["#title"]=> string(23) "My custom description" }

So that looks good; confirms the function is running and seems to set things up properly. Yet, the title remains "File attachments" and it is still collapsed. The only possible thing I can think of is some other kind of interference that reverts it back between when this function runs and when drupal renders, but I cannot find any conflicts reported with this module. any ideas?

CommentFileSizeAuthor
#1 wtf.PNG9.82 KBRyanJLind

Comments

RyanJLind’s picture

StatusFileSize
new9.82 KB

Nobody has any suggestions? I am almost ready to rip my hair out over this.

Please see attached screenshots that shows my module being enabled yet not having any effect.

I could even live with the default drupal if they would just have it expanded by default...like it is here on the drupal site.

iva2k’s picture

Hi Ryan,

Sorry, I was quite busy with other projects lately. Your issue seems very similar to one or two postings other people have reported. You could try searching the issues for old resolved ones as a general starting point.

For your specific problem it looks like you have some other module that is messing up with what iTweak Upload is supposed to do. You can try either disabling other suspect modules to find the one that conflicts, or increasing the weight of iTweak Upload in {system} table (you will need to run SQL query). Search drupal.org website on this - there should be plenty of information.

iva2k’s picture

Status: Active » Postponed (maintainer needs more info)

This could be a duplicate of #561890: Comment attachements uploading doesn't look right. Comment upload weight changed to 2.. Try 6.x-2.x-dev version of iTweakUpload (it changes weight to 10) - a fix is discussed in #7-#10 there.

Same story in another #512588: The fieldset wrapping it is collapsed by default .

iva2k’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No additional information received for more than 10 weeks, closing. Feel free to reopen this issue if you have more information on it.