3

I have been using the GeSHi plugin for syntax highlighting on my Joomla 3 installation for few weeks. The highlighting has been working fine. But ever since I upgraded to Joomla 3.3 the highlighting has no colors. The code is still being formatted as before, but without the color.

I'm entering the tags (i.e. <pre xml:lang="SQL">) as before using the HTML editor.

Has anyone else noticed this or knows what this may be happening?

Thanks

  • What was your initial Joomla version? 3.0, 3.1 or 3.2? – Lodder May 6 '14 at 11:24
  • Joomla 3.2 was where I tested GeSHi with color. – Sivakanesh May 6 '14 at 11:30
  • Can you check all the GeSHi subfolders in the plugin exist please github.com/drmmr763/JoomlaExtensionDevelopment/tree/master/…? Have you also checked that the CSS isn't now being overridden from somewhere else? (using chrome dev tools etc). – George Wilson May 6 '14 at 12:50
  • I've checked the folders are as in GitHub. However, the CSS for the styling is from the template I'm using. Even when switch to a basic template, none of the Geshi style come through. Any way to tell if Geshi is actually working (it is enabled)? – Sivakanesh May 6 '14 at 13:51
4

The Geshi plugin has been removed from Joomla which is why it won't be working. You can see the pull request for it here:

https://github.com/joomla/joomla-cms/pull/746

To highlight your code from now on, you will need to use a 3rd party extensions from the Coding & Scripts Integration category.

  • I can still see the Geshi plugin folder in my install, but clearly they are not in play. – Sivakanesh May 6 '14 at 11:43
  • 2
    Actually this isn't true. The Geshi plugin has been removed from core however it will continue to work on existing installations – George Wilson May 6 '14 at 11:50
  • @GeorgeWilson - How does it continue to work if it has been removed from core? – Lodder May 6 '14 at 11:51
  • Because the plugin was never uninstalled. It was just no longer shipped with new installations - so it just should work like any other plugin – George Wilson May 6 '14 at 11:53
  • Fair enough. Clearly something hasn't been done correctly when removing it else it would work for the OP – Lodder May 6 '14 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.