Postponed
Project:
iTweak Upload
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2011 at 13:59 UTC
Updated:
25 Apr 2013 at 16:02 UTC
Hi - This doesn't seem to override the default upload settings in panels... Is there a way we can get it to do this?
Thanks,
Leo
Comments
Comment #1
iva2k commentedI am not using default upload settings in panels. Please post step-by-step instructions to reproduce the problem.
Comment #2
iva2k commentedPlease reopen with step-by-step instructions how to reproduce.
Comment #3
offthehook commentedI'm re-opening this because I'd like Itweak to work in Panels, and in the manner I am using panels it does not.
I have a Panels Page overriding the the Node template. There are several panes in the panel where I add various bits of node content in order to construct the complete node layout.
Here's how I am adding Attachments:
In the respective pane, click on "Add content".
Click on "Node"
Click on "Attached files"
Update and save the Panel Page.
Nodes display as they should but ignore all Itweak settings, i.e. we are just getting the original Attachments display. I'm unable to see where and how this can be overridden, as all Content Types and File Upload settings are set to display an Itweak layout.
However, if you add node content into Panels as a complete node (including ticking the Extras" option then Itweak settings are applied.
Comment #4
iva2k commentedJust to let you know, I will not have any bandwidth to work on 6.x stuff, sorry. It gets harder and harder to carve out some Drupal time. I will review and commit patches.
From your description it sounds like iTweak Upload custom theme itweak_upload_upload_attachments() (overide of theme_upload_attachments) is not invoked, which is either due to panels not calling standard themes, or having its own override for some reason. iTweak Upload needs to be the earliest within all modules for its magic to work, but it makes other modules overriding the same theme to take over (so I think).
I would start by checking if panels override this theme (can be done using one of devel modules or by code inspection), then if its the case see if it can be disabled or reordered.
If panels create a completely different view without invoking standard drupal hooks, it may be tough luck (or panels patch needed).
Comment #5
iva2k commented