Library API and Wysiwig API introduced a common repository for libraries in sites/all/libraries resp. sites/<domain>/libraries for contributed modules.

I would like to see HTML Purifier use these locations for the HTML Purifier library.

Comments

xtfer’s picture

+1

This would be really useful.

ezyang’s picture

Status: Active » Postponed (maintainer needs more info)

Hi; I've looked at http://drupal.org/project/libraries and http://drupal.org/node/320562 and it's not obvious to me what beyond plunking the library in sites/all/libraries is needed: is there a new API? Is there a standard boilerplate procedure text that I should give users when they want to install the library?

I'll post a ticket to Libraries API asking for clarification.

philbar’s picture

Status: Postponed (maintainer needs more info) » Active
Issue tags: +Libraries
nhck’s picture

This would be really nice - this way it would be easier to update using drush. Right now the htmlpurifier libary is moved to the backup dir.

frankcarey’s picture

as a workaround, you can put the library in sites/all/libraries and then add a symlink to it from htmlpurifier/library. It might still go missing when using drush, but all it takes to get it back is to re add the symlink instead of re downloading it.

+1 to get his working, I think drupal 7 is already using this schema, no?

ezyang’s picture

Status: Active » Closed (duplicate)