Joomla! Discussion Forums



It is currently Sun Nov 08, 2009 7:55 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: what is GESHI?
Posted: Tue Nov 22, 2005 12:14 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Sep 02, 2005 10:23 pm
Posts: 361
Location: Mazatlan, Sinaloa, Mexico
I found this one in mambots, what can I do with it?

_________________
http://www.joomla.com.mx
Joomla Mexico!


Top
   
 
 Post subject: Re: what is GESHI?
Posted: Tue Nov 22, 2005 12:30 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Aug 20, 2005 5:15 pm
Posts: 183
Location: Fruitport, MI
http://qbnz.com/highlighter/ - it highlights stuff - I know it's used in searches to highlight the terms that you searched for, maybe used in other ways too.

_________________
Cheers - T3.6K

osCommerce Bridge: www.seismicos.com


Top
   
 
 Post subject: Re: what is GESHI?
Posted: Wed Dec 14, 2005 1:10 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Fri Aug 19, 2005 3:03 pm
Posts: 4724
Location: Indiana, USA
GeSHi also:

- changed all numbers contained in
 tags to the color cc66cc. 

don't ask me why!

_________________
If you're new to Joomla, Please read Anna's Joomla! Tips: viewtopic.php?t=5503

http://nathandiehl.com | Find out what makes me tick


Top
   
 
 Post subject: Re: what is GESHI?
Posted: Tue Mar 28, 2006 9:55 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Sep 11, 2005 7:46 pm
Posts: 130
Location: san francisco, ca usa
I've turned on the Geshi bot, but when I do searches, I get no highlighting.
How does one turn this ON?

Thanks for your advice


Top
  E-mail  
 
 Post subject: Re: what is GESHI?
Posted: Tue Mar 28, 2006 10:50 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
consigliere wrote:
I found this one in mambots, what can I do with it?


http://qbnz.com/highlighter/

_________________
[ Joomla! StatsCleaner - a free tool to reset ALL Joomla! stats - http://www.nab-design.de/devcorner/ ]


Top
  E-mail  
 
 Post subject: Re: what is GESHI?
Posted: Wed Mar 29, 2006 12:51 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 26, 2005 1:31 am
Posts: 1244
I think it changes code in a pre tag to pretty colors

_________________
Joomlashack - Professional Hand Coded Joomla Templates
www.joomlashack.com/professional-joomla-templates
Fully Managed Joomla Hosting
www.joomlashack.com/joomla-hosting


Top
   
 
 Post subject: Re: what is GESHI?
Posted: Wed Mar 29, 2006 1:27 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 19, 2005 2:26 am
Posts: 1789
Location: Lancaster, Lancashire, United Kingdom
It is an attempt to format source code when placed in an article - I guess.
It cropped up in a conversation the other day - but it appears far more basic than what is promised on the site referenced above.
Not sure if this is a port of that code, or just something named similarly out of respect!
Perhaps it can be extended or configured to do a better job?

Dean

_________________
Dean Marshall - Mambo and Joomla Consultant
Dean Marshall Consultancy Limited - http://www.deanmarshall.co.uk/


Top
   
 
 Post subject: Re: what is GESHI?
Posted: Wed Mar 29, 2006 5:07 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Sep 11, 2005 7:46 pm
Posts: 130
Location: san francisco, ca usa
I know what it is in 'concept' and what it's supposed to do.
Search hit highlighting has been around for a while.

My question, better put is this:

There is a mambot in Joomla called Geshi.
I have turned it on.
I search for the word 'joomla' in my site, and while it finds many results, none of the clicked results details highlights the word 'joomla'

So what's the next step please?
Do I update my template code.
Is there a hack?

What exactly has to happen next?
Thanks


Top
  E-mail  
 
 Post subject: Re: what is GESHI?
Posted: Wed Mar 29, 2006 5:34 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Jan 17, 2006 7:42 am
Posts: 801
Quote:
I search for the word 'joomla' in my site, and while it finds many results, none of the clicked results details highlights the word 'joomla'

I think you've misunderstood the function of Geshi Mambot.
Geshi mambot is used to display colored syntac in article. (whatever syntac, be it c++, css or php)
Suppose you want to put an article about flash actionscript:
You can put:

var $test;
for ($test =1; $test = 20; $testi++){
gotoandplay{$i);
}


And the result would be:

var $test;
for ($i =1; $i = 20; $i++){
gotoandplay{$i);
}

Correct me if I am wrong?  :)

_________________
+ what's great about open-source? kindness of sharing
+ http://www.eddyyanto.com
+ http://www.joomlavue.com


Top
  E-mail  
 
 Post subject: Re: what is GESHI?
Posted: Wed Mar 29, 2006 6:11 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Sep 11, 2005 7:46 pm
Posts: 130
Location: san francisco, ca usa
Oh wow, so maybe I totally misunderstood.
I thought that this same method would be used to do hit hghlighting.

So let me ask you this.
In the search box at the top right of this page put in 'geshi' and hit the SEARCH button
You get a bunch of highlighted 'geshi' words in the search results.

Is that a function of this forum, and not of the rest of Joomla?
How is it done? Maybe only in SMF then.


Top
  E-mail  
 
 Post subject: Re: what is GESHI?
Posted: Wed Mar 29, 2006 10:11 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Fri Aug 19, 2005 3:36 pm
Posts: 618
From the Joomla help files:


GeSHi:

This displays formatted code in content items based on the GeSHi highlighting engine.

This is to be considered as an enhanced version of mosCode, allowing the rendering of many different programming languages with color-highlighted code by specifying the to-be-used language.

Usage: Use the "pre" tag and add the programming language you want to use for highlighting purposes as a parameter. Example:

< pre lang="xml" >your code here ... < /pre >

The mambot version of the GeSHi highlight code comes with the following highlighters for the most common renders installed, ready to be used:

  • CSS => use lang="css"
  • Html4 Strict => use lang="html4strict"
  • JavaScript => use lang="javascript"
  • PHP => use lang="php"
  • PHP Brief => use lang="php-brief"
  • SQL => use lang="sql"
  • XML => use lang="xml"

Should you need additonal languages, you may download the full package from the developer site: http://qbnz.com/highlighter/ which includes over 30 languages. You should then upload the required "newLanguage.php" from the package into your "\mambots\content\geshi\geshi" folder.

NOTE:  As of 4.5.2.1, this bot seems to have an incompatibility with the Email cloaking mambot.

_________________
[ Joomla! StatsCleaner - a free tool to reset ALL Joomla! stats - http://www.nab-design.de/devcorner/ ]


Top
  E-mail  
 
 Post subject: Re: what is GESHI?
Posted: Fri Feb 02, 2007 10:45 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Mar 03, 2006 3:52 pm
Posts: 1018
Location: Macon, GA
Does this not work with editors like JCE?

_________________
http://www.mychemistrytutor.com/forums

http://www.netentropy.com/blog


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

Quick reply

 



Who is online

Users browsing this forum: hackerzlab and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group