Hi.
First of all congrats for these simple but awesome module.What i would like to suggest is a change to the module code in order to work with the fusion theme engine http://drupal.org/project/fusion .
I'm working with this theme engine in order to make my web design projects . When i tested html_export i got these errors! ( see atchment 1 )
<link type="text/css" rel="stylesheet" media="all" href="sites/all/themes/fusioncss/MYTHEME-style.css?4" />
where /fusioncss/MYTHEME-style.css? is wrong because Fusion Framework uses a directory structure like this .
sites
all
themes
fusion
MY_CUSTOM_THEME
CSS (folder)
IMAGES ( for the css folder )
Html_export seems to ignore this directory structure !
The same thing happens with the MY_CUSTOM_THEME/images folder.
In order to make it work properly i added these lines of code in the line 181 of the html_export.module file
*
$data = str_replace('fusioncss','fusion/MY_CUSTOM_THEME/css',$data);
$data = str_replace('fusionimages','fusion/MY_CUSTOM_THEME/images',$data);
$data = str_replace('localhostsites','sites',$data);
Obviously this a hardcoded solution and its not GOOD!
Could suggest a solution in order to work for everybody?
========================
* i'm using the patch version of the module in order to have views and other custom pages exported as well ! see attachment 3.
Comment | File | Size | Author |
---|---|---|---|
html_export.txt | 9.28 KB | nikitas | |
fusion_bug_2.jpg | 483.48 KB | nikitas | |
fusion_bug.jpg | 165.91 KB | nikitas |
Comments
Comment #1
btopro CreditAttribution: btopro commentedthis should no longer be an issue in 2.x but need verification