ImageField and Private Files

6 replies [Last post]
csierragrn
csierragrn's picture
Offline
Joined: 04/16/2008
Points: 0

One of the requirements of our deployment is for files that are attached to a given article have that article's permissions.  This is pretty important - I don't want folks viewing attachments that inherit confidentiality of the document it is posted against.

 After installing the theme and Imagefield, it seems that there are issues with Imagefield and the Private file system setting.

How do we ensure that we can use the private setting with minimal or no issues with this theme?

csierragrn
csierragrn's picture
Offline
Joined: 04/16/2008
Points: 0
A fix, but the teme needs to be fixed first

The theme is not compatible with imagecache 5.x-2.0. The 2.0 revision of this module resolves the issues around Private files in Drupal.

When imagecache 5.x-2.0 is installed, the theme configuration page displays entirely blank.

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
Imagecache module and private files

Hi again,
I'm not sure where you are seeing an Imagecache 5.x-2.0 module. I'm on the Drupal project page for the Imagecache module right now and do not see that version as an official release.

http://drupal.org/project/imagecache

I do see the Imagecache 5.x-2.0 Beta release when viewing all releases of this module. So, the 5.x-2.0 version is still in "Beta," meaning you are likely to have some issues until it is debugged and made for official release. In other words, using any "beta" release would be at your own risk.

As for the privatizing files or setting permissions, it seems that there are quite a few that have posted this problem on groups.drupal.org:

http://groups.drupal.org/node/3647

Reading through this post indicates that this is a feature request for Drupal's core. So, the issue you're having here would apply to any Drupal theme, not just the Efficient theme.

I'm not sure how we would apply a fix for the "theme" here as you mentioned above when it seems that this would be a patch for specific uses. A better solution is to have the "fix" in Drupal's core using more finite roles and permissions handling.

I hope this helps.

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
Follow up to this...

I also wanted to ask if you've made significant changed to the theme files, i.e. any .tpl file, template file, or other core theme files.
If significant changes have been made (as your previous RFP showed), then the blank page could be a coding error from whomever you got to do the design changes or development.

Could this be the case? If so, I would imagine that support from us would be limited if you have changed more than 20-30% of layout code (PHP, template config., etc).

That would be similar to me buying a remote control car from a store, taking it home, and rebuilding or "tweaking" the motor with other "parts" - only to find it not working properly after all my tweaks. If I took it back to the store to ask for help, I seriously doubt they could do much for me depending on the number of changes made to the original purchased item.
Maybe this isn't the case, but just thought I'd note it in case it was.

Thanks.

csierragrn
csierragrn's picture
Offline
Joined: 04/16/2008
Points: 0
Not yet - I need the base

Not yet - I need the base stable before making any changes.  All comments are via an "out of box" installation. 

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
File settings issues

then we need more information or better interpretation of this:

"After installing the theme and Imagefield, it seems that there are issues with Imagefield and the Private file system setting."

What issues exactly? Do you have any other modules installed to control file privatizing? If it is an issue with the Imagecache module itself, we may be able to expedite a fix/patch from its maintainer or do it ourselves.

If it's more of a permissions/role/access issue, then this would be a Drupal core issue, not a theme issue.

More info. would be great to have.

Thanks

Jason
Jason's picture
Offline
Joined: 01/03/2008
Points: 8
csierragrn, the base is very stable ;-)

Hi,
I just wanted to note that the base is very stable. Many of the issues you presented are not theme problems at all, but just the lack of understanding how to set up the theme.

I sent the specific instructions to you and would be glad to patch up any bug(s) that are found. So, far the ones you've mentioned are caused by either installing "Beta" modules (Imagecache), or by other modules like the Sharethis module (this module inserts JavaScript within nodes).

With over 100 purchases and installs of this Drupal theme I can say for sure that is is extremely solid though.

My advise - if you start adding lots of additional Drupal modules, or any outside of the modules specifically used for this theme, then you should be prepared to have a PHP guy/girl, themer, or someone who knows how to make tweaks as necessary because some modules don't play nicely with any Drupal theme - ours included.

Thanks

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <strong> <code>
  • Lines and paragraphs break automatically.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.