I added the Geshi Field to the default article that ships with Drupal but I cant get line numbering with it. The selection boxes for all enabled languages appear and do the formatting and highlighting perfectly but no line numbers.
I have the settings set for Fancy line numbers (10), external style sheet and have tried all of the output wrappers. THe only way I can get line numbers is if using filtered html or full html but then the user has to type the opening/closing tags for the language.... a small thing I know but it seems that if line numbering is enabled, the geshi field with the language selection box would just take care of it :D
Scenario I am desiring:
Article Title
Article Image
Article Body (full html with FCKeditor)
Article Code Block (unlimited # of Geshi Fields)
Tags
URL Alias
All standard except for added Geshi field.... problem is, if I use filtered html for the code blocks it works, but it defaults to the first item listed in text formats (filtered html).... yes, I can reorder those, but then the body field wont load the FCKeditor by default... see what I mean? Have hunted the official Geshi site and all the stuff in here but havent found any clues yet.... Official Geshi site is HUGE so maybe I need to spend a couple more hours... ehehe.... any clues, hints or outright fixes would be appreciated!!
Thank you for this module.... it's freakin awesome!
Comment | File | Size | Author |
---|---|---|---|
#3 | issue-1245852.patch | 12.23 KB | yukare |
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commentedLine numbering in GeSHi fields is indeed not supported at the moment
Comment #2
yukare CreditAttribution: yukare commentedWe could make the geshifield use the same settings as geshifilter, or maybe, add this settings for each field.
Comment #3
yukare CreditAttribution: yukare commentedI did some work on it, but did not finish, so will keep the current work here as a patch and will continue latter.