Welcome to Geeklog, Anonymous Thursday, October 03 2024 @ 07:19 pm EDT
Geeklog Forums
jquery syntax highlightiing
There are some articles/stories I want to write on my geeklog-powered site. These stories are How-to's requiring syntax highlighting of various kinds (e.g.: sql, php, shell). I have found a plug-in to integrate these but am unsure how to do so with geeklog. I am using ver. 1.8 and have seen posts here about integrating css and js files on static pages.
For anyone offering a solution, kindly give specific and exact steps.
For anyone offering a solution, kindly give specific and exact steps.
9
9
Quote
Status: offline
suprsidr
Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
Exact steps: use the jQuery plugin.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
8
8
Quote
Status: offline
dwl
Forum User
Junior
Registered: 01/05/11
Posts: 25
Solved: Disregard except for the thanks
Thanks for the help, suprsidr. However, now I have a challenge. If I click on the plugins feature of my site I receive the following:
Fatal error: Cannot redeclare plugin_autoinstall_jquery() (previously declared in /home/..../plugins/jquery/autoinstall.php:45) in /home/...../geeklog/plugins/jquery.previous/autoinstall.php on line 85
I deployed the plug-in on the development linux environment I have before sending everything up to the main server.
Thanks for the help, suprsidr. However, now I have a challenge. If I click on the plugins feature of my site I receive the following:
Fatal error: Cannot redeclare plugin_autoinstall_jquery() (previously declared in /home/..../plugins/jquery/autoinstall.php:45) in /home/...../geeklog/plugins/jquery.previous/autoinstall.php on line 85
I deployed the plug-in on the development linux environment I have before sending everything up to the main server.
Quote by: suprsidr
Exact steps: use the jQuery plugin.
-s
8
8
Quote
Status: offline
dwl
Forum User
Junior
Registered: 01/05/11
Posts: 25
I've followed the documentation and steps for implementing the jQuery plugin but can not implement the brush for css.
According to the documentation I should be able to activate it with
On the alex gorbatchev site there is mention of requisite file names for different syntax highlighters but I can not find their location using sh*.js as a filefind parameter. I can successfully implement classes for php and js syntax.
According to the documentation I should be able to activate it with
Text Formatted Code
<code class="css">On the alex gorbatchev site there is mention of requisite file names for different syntax highlighters but I can not find their location using sh*.js as a filefind parameter. I can successfully implement classes for php and js syntax.
6
7
Quote
All times are EDT. The time is now 07:19 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content