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
Comment #1
soxofaan commentedwhich 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
Comment #2
ViRPo commentedD7 and 7.x-1.0 Recommended releas
Comment #3
ViRPo commentedNow 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
Comment #4
ViRPo commentedWell 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
Comment #5
ViRPo commentedSo 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
Comment #6
Rasa-1 commentedSame 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?
Comment #7
nschloe commentedI had it fixed by turning off the "Limit allowed HTML tags" option in the text format configuration.
Comment #8
danoprey commentedIf 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)
Comment #9
mo-seph commentedIt'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.
Comment #10
hass commentedTry this #2041673: Geshi language CSS not generated after upgrade from D6->D7
Comment #11
hass commentedLooks like you are not actively working on patches.
Comment #11.0
hass commentedI 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
Comment #12
yukare commentedI will close now as it is a long time with any comment. Please reopen this if you still have this issue.