i try your script whit the 4.7 and i have this error
Did you try this module with 4.7 beta 4 or with the current HEAD (CVS) version? base_path is a recent addition to Drupal and isn't present in beta 4.
Change THESE lines 614-615 in modules/sifr/sifr.module :
$base = base_path(); $fontpath = str_replace(' ', "%20", $base.$rule->font); // convert spaces
TO:
$base = file_directory_path(); $fontpath = str_replace(' ', "%20", $rule->font); // convert spaces
sorry, suddenly have changed the title of this report:)
First of all, just to be clear, there is NOT currently a version of this module that works with Drupal 4.6.
That being said, base_path() is a function that is included in Drupal 4.7beta and will be part of the final version of 4.7..
If you are running beta, please get 4.7beta5 (released last week). If you are running CVS, please do an update to your install.
This should solve the problem with the base_path() function not being found.
-Jeff
Comments
Comment #1
heine commentedDid you try this module with 4.7 beta 4 or with the current HEAD (CVS) version? base_path is a recent addition to Drupal and isn't present in beta 4.
Comment #2
arsart commentedChange THESE lines 614-615 in modules/sifr/sifr.module :
TO:
Comment #3
arsart commentedsorry, suddenly have changed the title of this report:)
Comment #4
jjeff commentedFirst of all, just to be clear, there is NOT currently a version of this module that works with Drupal 4.6.
That being said, base_path() is a function that is included in Drupal 4.7beta and will be part of the final version of 4.7..
If you are running beta, please get 4.7beta5 (released last week). If you are running CVS, please do an update to your install.
This should solve the problem with the base_path() function not being found.
-Jeff