Hello,
Thanks for maintaining this module. I hope that future revisions will include the option of direct link of file names to uploaded PDFs of newsletters, journal editions, etc.
Has anyone noticed the option of using the e-publish CSS is not working on 6.x 1.0? Even though I've chosen the option in the e-Publish configuration page...the generated pages still conform to my theme css settings. More importantly, any changes I make to the e-Publish css file do not appear.
Thanks for any help.
Comments
Comment #1
peterzoe commentedTrue, I just added
$path = drupal_get_path('module', 'epublish');
if (variable_get('epublish_css', 1)) {
drupal_add_css($path .'/epublish.css');
}
upfront in epublish.module.
Now it works, not quite sure though, where stuff like this should belong in D6. adding it to hook_menu() does not seem to be appropriate at least...
Cheers, Peter.
Comment #2
dleong commentedHi Peter,
Thanks for the help. I've been tackling other issues so I haven't gotten around to this one yet. Just to clarify (I'm a bit of a Drupal novice and PHP-illiterate), you basically add the piece of code to the beginning of the epublish.module?
Thanks.
Comment #3
sengstrom commentedOther modules add it to the _init hook and it seems a reasonable place for epublish as well.
In epublish.module add this:
Comment #4
tobias commented+1 this worked for me. thanks!
Comment #5
jerdiggity commentedSorry (just took over this module)... Code checks out for me as well. Will commit & release version 6.x-1.2. (Thanks for the info!)
Comment #6
jerdiggity commentedCommitted new release (6.x-1.2). Thanks again!
Comment #7
jerdiggity commentedIssue-queue clean-up (still showing up as an active bug)...