Closed (fixed)
Project:
Facelift Image Replacement Integration
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Oct 2008 at 14:02 UTC
Updated:
18 May 2010 at 13:40 UTC
hi there,
I tried to get the fancyfonts-plugin to work but failed.
anybody there who get it to work?
in config-flir.php I assigned my path: define('IM_EXEC_PATH', '/opt/local/bin/');
and added this to init: FLIR.init( new FLIRStyle( { mode:"fancyfonts" } ) );
but it won't work :(
thx!!
Comments
Comment #1
melchior commented:(
no idea?
Comment #2
btopro commentedyou need to modify line 37 in flir.module. I wrote it incorrectly.
it says:
define('FLIR_PLUGIN_DIR', drupal_get_path('module', 'flir') .'/flir/plugins');
It needs to be
define('FLIR_PLUGIN_DIR', base_path() . drupal_get_path('module', 'flir') .'/flir/plugins');
other wise it doesnt find the folder that has the plugins in it.
Does it work now?
Comment #3
melchior commentedhi,
I just get it to work.
there are two points that need to be fixed in your code
(flir.module)
1.
2.
change $p = PLUGIN_DIR.'/'.$entry;
to $p = FLIR_PLUGIN_DIR.'/'.$entry;
greetings,
melchior
ps thx for module!
Comment #4
roper. commentedWhat about for 5.x ?
Please help explain how to integrate this. I have ImageMagick installed via the Image module, and have moved the .inc file to drupal/includes. I have selected ImageMagick under Drupal's Image Toolkit section. Now what?
The above examples didn't seem to help me for the 5.x version.
Thanks in advance.
Comment #5
hadsie commentedI've just added fancyfonts support to the 2.x branch of this module. Please give it a try and let me know if it works. I won't be adding support for the 5.x version of the module. But am happy to accept patches if someone else wants to.