Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
1. i dont which Content modules is being required by GeSHi field.
2. I added a new filter type for source code but that does not work when i select the Source Code filter type & paste a program in the body.
Comment | File | Size | Author |
---|---|---|---|
#8 | 0002-ported-geshifield-to-7.x.patch | 13.28 KB | Haehnchen |
#8 | field_migrate_geshifilter.png | 5.24 KB | Haehnchen |
Untitled.png | 138.72 KB | adityagada |
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commented1. GeSHi field is not fully ported yet
2. please provide more info, your problem description is not very clear
Please note that the 7.x version of GeSHi filter module is still alpha,
don't expect it to work properly yet
Comment #2
boombatower CreditAttribution: boombatower commentedComment #3
tim.plunkettIn the meantime, maybe it should just declare itself as
core = 6.x
in geshifield.info, just so people know it's not ready.Comment #4
boombatower CreditAttribution: boombatower commentedReverted core back to 6.x for time being: http://drupalcode.org/project/geshifilter.git/commit/9fe3ae5.
Comment #5
boombatower CreditAttribution: boombatower commentedPerhaps this is unnecessary since core support text filters on fields? Seems you that is a much cleaner implementation since you can use geshifilter on other fields besides just geshifields.
Comment #6
soxofaan CreditAttribution: soxofaan commentedPerhaps this is unnecessary since core support text filters on fields? Seems you that is a much cleaner implementation since you can use geshifilter on other fields besides just geshifields.
True, and this is probably the best "workaround" in the time being
but the added value of geshifield is that you don't have to use tags like
[code language="foo"]
, but instead can use a more user friendly drop down menu to specify the language.Comment #7
boombatower CreditAttribution: boombatower commentedSounds like still needed then. At least to support prior functionality.
Comment #8
Haehnchen CreditAttribution: Haehnchen commentedhere you have a working geshifield port to 7.x!!!!!
i implemented all features expect the row size of the textarea field. i think we dont need it, but you can find lines that handle this but i disabled them.
all wiget/formats are in, so you can fully migrate the cck field to the new field api with the cck 7.x module
i tested it with my simple private "snippet page" and all works fine now on drupal 7.
Comment #9
boombatower CreditAttribution: boombatower commentedRemoved a lot of trailing spacing and what not, and I deleted all the code you commented out in regards to row setting.
Committed and thanks!