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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

soxofaan’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

1. 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

boombatower’s picture

Title: missing modules + filter type does not work » Geshifilter needs porting to D7 field API
Category: support » task
Status: Postponed (maintainer needs more info) » Active
tim.plunkett’s picture

In the meantime, maybe it should just declare itself as core = 6.x in geshifield.info, just so people know it's not ready.

boombatower’s picture

Reverted core back to 6.x for time being: http://drupalcode.org/project/geshifilter.git/commit/9fe3ae5.

boombatower’s picture

Title: Geshifilter needs porting to D7 field API » Remove geshifield

Perhaps 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.

soxofaan’s picture

Perhaps 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.

boombatower’s picture

Title: Remove geshifield » Geshifilter needs porting to D7 field API

Sounds like still needed then. At least to support prior functionality.

Haehnchen’s picture

Component: Code » GeSHi field (submodule)
Priority: Normal » Major
Status: Active » Needs review
FileSize
5.24 KB
13.28 KB

here 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.

boombatower’s picture

Status: Needs review » Fixed

Removed 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.