Private download method and javascript aggregator

jean-bernard.addor - May 8, 2009 - 08:17
Project:Javascript Aggregator
Version:6.x-1.2
Component:Documentation
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I just made some tests on a website with private download method and it seems unpossible to use javascript aggregator on it. I am curious to know if it would be possible to make it compatible by modifying, writting, rewritting some code.

#1

Laurent_ - June 12, 2009 - 09:10

Subscribing
Same issue for me: got a "jQuery is not defined" and "$ is not defined"

Laurent

#2

Laurent_ - June 12, 2009 - 13:29

I've found a work around.

I've first used the following instructions to allow JS/CSS aggregation in private mode without javascript aggregator module: http://drupal.org/node/146611#comment-1182361

I've then installed javascript aggregator to use the minification and gzip functionalities.

The trick is that when you install javascript aggregator module, the .htaccess is deleted. You just to have to recreate the .htaccess with "allow from all" as mentionned above.

If there's a better solution, I'll appreciate your comments

Laurent

#3

intropedro - July 11, 2009 - 12:26
Version:6.x-1.1» 6.x-1.2

Subscribing for version 6.x-1.2

#4

arhak - September 8, 2009 - 06:25

for those looking for workarounds for private download support:

according to issue 146611#comment-1182361 at #146611: Allow JS/CSS aggregation in private mode D7 is expected to ship with public/private by file functionality, so creating a new folder for D6 was denied

nevertheless, making a public folder available to support features unavailable for private download method is a very affordable cost

so I'll be maintaining such as a path for D6 at #181003: private download method and dynamically generated CSS and JS

 
 

Drupal is a registered trademark of Dries Buytaert.