Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Apr 2011 at 09:22 UTC
Updated:
19 May 2011 at 16:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
boombatower commentedLooks like _geshifilter_check_geshi_library() would need replacing.
Looks like even a todo in code: // TODO: change the default value to something like 'sites/all/libraries/geshi' (possibly using the Libraries API module)
Comment #3
boombatower commentedThe patch provides as straight a port to libraries API as I can do, didn't change logic of code.
I made a new issue for drush make file, #1125856: Add drush make file to download geshi library.
Comment #4
soxofaan commentedHi,
Looks very cool, thanks.
Unfortunately, real life constraints prevent me to allocate a decent amount of time to review and try this properly in the short term (I'm looking for a co-maintainer).
If you want, I can add you as maintainer, so you can commit directly yourself?
marked #584308: support/integration with Libraries API as duplicate
Comment #5
boombatower commentedSure, not sure I will be able to devote a lot of time to this either, but improving to I can use cleanly with drush make on a Drupal 7 site. Probably double check a few more things and make a release if ok with you.
Comment #6
soxofaan commentedI just added you as maintainer,
thanks for contributing!
Comment #7
boombatower commentedCommitted.
Comment #8
Derjyn commentedWhy the move to Libraries API? It was fine before... Now I get this error: "Call to undefined function libraries_load()" when trying to go to the Geshi admin settings page. Libraries module is active, and I tried with both dev and suggested versions (also combos of dev/suggested Geshi).
Comment #9
boombatower commentedIt's is the proper way to do third party libraries. It also removes a bunch of code that each third party integration has to deal with, make it more robust, and more configurable.
Did you use the 2.x-dev like it says? based on the error I'd say you were running 1.x. I run it daily on a project I am working on...it works like a charm.
Comment #10
boombatower commentedComment #11
boombatower commentedPlease re-open if still having trouble. I am assuming you were not running 2.x-dev.