Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 07:33 PM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 jquery syntax highlightiing
   
dwl
 04/28/12 08:40AM (Read 888 times)  
++---
Junior
curious

Status: offline


Registered: 01/05/11
Posts: 25
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.

 
Profile Email
 Quote
suprsidr
 04/28/12 12:12PM  
+++++
Full Member

Status: offline


Registered: 12/29/04
Posts: 552
Exact steps: use the jQuery plugin.

-s

FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 
Profile Email Website
 Quote
dwl
 05/02/12 12:44PM  
++---
Junior

Status: offline


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.

Quote by: suprsidr

Exact steps: use the jQuery plugin.

-s


 
Profile Email
 Quote
dwl
 05/02/12 02:19PM  
++---
Junior

Status: offline


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

 
Profile Email
 Quote
Content generated in: 0.98 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content