highlighting

Events happening in the community are now at Drupal community events on www.drupal.org.

Highlight search results

Posted by Harrietech on January 22, 2013 at 4:25pm

I cannot get the 'highlight search word' feature to work, and wonder if I've got the HTML selector wrong or something else? Attaching a screenshot of my settings for this. Would be grateful for any suggestions! Thanks.

Read more

Prettify module for syntax highlighting of code

Posted by egil on July 28, 2011 at 12:00am

Hi all,

I created a module (my first) that enables syntax highlighting of source code snippets in nodes. The module uses the google-code-prettify JavaScript library to do the highlighting (http://code.google.com/p/google-code-prettify/).

It works in a none-obtrusive through an input filter, that looks for all pre or code tags and modifies then as needed to enable the highlighting. That has the benefit of making it easy to replace or remove later, as the original node text is not modified.

Read more
12 comments Categories: ,

Managed to lose Highlighting

Posted by maxmmize on November 15, 2010 at 4:45pm

Hi,

I've managed to lose highlighting in my description/teaser.

http://drupal.org/node/970928
http://drupal.org/node/968308

I have it turned on in my solrconfig.xml line 183. It is set to true.

It was working when i was using Jetty and Solr 1.4.0, then I switched to Tomcat and created a new Solr 1.4.1 instance. I modified my teaser length as noted above. I basically just crawled and kept the entire page using nutch, passed it to Solr and displayed my teaser with <?php print substr($snippet, 0, +400); ?> ...<br/>

Read more
1 comment Categories: ,
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /