Allow CSS classes despite private download
starkos - April 9, 2008 - 14:45
| Project: | GeSHi Filter for syntax highlighting |
| Version: | HEAD |
| Component: | Administration interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | soxofaan |
| Status: | closed |
Description
I would like to be able to control the coloring via my own CSS file, without having to turn on public downloads. Please enable the use of CSS classes without requiring public downloads. Right now my only recourse is to hack your module to remove the filesystem checks.
You can continue to auto-create the CSS file to the upload directory, but let me decide what to do with it.
At the very least, respect the value of the geshifilter_css_mode variable and remove the checks to "outsmart" it. Then I could manually set it myself.
Thanks!

#1
First iteration of a patch to address this issue
it adds a CSS mode option "Only add CSS classes"
(also see screenshot)
#2
new version that adds callback that generates example css rules for the "only add css classes" option
#3
reroll of patch for the DRUPAL-5--2 branch
#4
reroll
#5
fixed for 5.x-2.x by http://drupal.org/cvs?commit=113955
to be ported to HEAD
#6
http://drupal.org/cvs?commit=113966
#7
Automatically closed -- issue fixed for two weeks with no activity.