Private upload overwrites file attachment theming

ron_s - November 23, 2008 - 05:11
Project:Private Upload
Version:5.x-1.0-rc2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I had previously applied the theming for file attachments noted here:
http://agaricdesign.com/note/theming-file-attachments-drupal-5x

After turning on the Private Upload module, the theme is overwritten. If I turn off the module, the theme returns. What's causing the overwrite?

#1

starbow - November 23, 2008 - 22:06
Category:bug report» support request

you and private upload are both attempting to theme the file table. Only one can do so. You get to choose :)

#2

maranjo - May 7, 2009 - 17:02

Thank goodness I finally found this. I've been doing my head in over why theming the function phptemplate_upload_attachments in template.php wasn't working. Now I've hacked the private_upload.module copy of this and all is well... until I forget and over-write the module next time I update...

Is there a way to modify an override like this, in the safe way in my theme? I'm using D6.

 
 

Drupal is a registered trademark of Dries Buytaert.