Hello

I have been fighting with Geshifilter to make it work for literally several days
Now i am in state, when i can see block of code with number assigned to each line (ol tag) and doesn't compile code, but shows it, but it isn't highligting code...
Web is http://virpo.sk if you want to check out what it does

As i figured, problem could be in GeSHi Field, which cannot be enabled, because it requires Content, and Content is missing...
I figured, that highlighting problem is caused by this by GSH Field's Description "Provides a CCK field for source code with GeSHI syntax highlighting."
So am i right? If i won't get GSH Field working, it won't by highlighting?

And then

Why is Content missing? I mean Content is very strange name for module...
What is it? Why is it missing? and most importantly, How do i fix this?

Thank you

Also i hope i am asking for support on right place

ViRPo

Comments

soxofaan’s picture

Status: Active » Postponed (maintainer needs more info)

which version are you using? GeSHi field module does not depend on the Content modulde (which is a Drupal 6 module) since 7.x-1.0-beta1

ViRPo’s picture

D7 and 7.x-1.0 Recommended releas

ViRPo’s picture

Now i am not really sure in which folder should geshifilter be
I have it copied in my site folder several times, so i guess some don't have to be there

ViRPo’s picture

Status: Postponed (maintainer needs more info) » Active

Well now i guess it is /sites/all/modules/geshifilter
but then i have libraries, but also those are in more folders like

/sites/all/libraries/geshi
/sites/all/modules/libraries/geshi
/sites/all/modules/geshifilter/geshi

But i upgraded geshifilter to newest version in /sites/all.../geshifilter and now Geshi field is activated
still
it doesn't highlight code

ViRPo’s picture

Title: Content (missing) » Geshi not highligting

So I am having the problem, that geshi doesn't highlight my codeblocks
I have all modules running and geshilirary is detected
I can provide you more informations if you want to help me, just ask what you need to know, because i don't know what could help you

// edit

What the problem might be is, that it does not detect any languages
It takes language and highlighting settings from geshi library, right? But when it detects it? What is wrong with that?
Where exactly should geshilirary be located?

ViRPo

Rasa-1’s picture

Same problem for me!
Geshi 1.0.8.10 detects correctly, but don't highlight code :(
Have geshi[filter] something like log-file etc?

ViRPo, solved you this trouble?

nschloe’s picture

I had it fixed by turning off the "Limit allowed HTML tags" option in the text format configuration.

danoprey’s picture

If this is driving anyone else mental, try this:

If the module and libraries module are working correctly and the GeSHi library is detected on the status report (try flushing the cache a few times if it's not).

Go to admin/config/content/formats/

Click configure on the format you wish to use for GeSHi (normally Full HTML)

Under "ENABLED FILTERS" tick "GeSHi filter"

I must have missed this in the setup guides, all working now using "[code php]" (no quotes)

mo-seph’s picture

It's not highlighting for me either.

It's recognising the code blocks, and applying styles to them, but they're all just black monospace.

I'm using GeSHi-1.0.8.11 - with earlier versions the library wasn't recognised.

hass’s picture

hass’s picture

Assigned: ViRPo » Unassigned

Looks like you are not actively working on patches.

hass’s picture

Issue summary: View changes

I wrote html tag in there, which was compiled because i didn't put it into "code" tag, so i solved it, so it can be read smoother

yukare’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

I will close now as it is a long time with any comment. Please reopen this if you still have this issue.