External Links and GeSHi Filter

04 Dec 2009 | CSS, Drupal

On my site I use the External links to add the external link icon image next to any external links. I also use the GeSHi Filter module for syntax highlighting. These two modules together were causing some undesirable effects.

The GeSHi Filter module adds links to the PHP manual entry for functions. Because this is an external link, it receives the image from above. This doesn’t look quite right:

GeSHi Filter with external link

So what did I do about it? I added the following lines to me themes CSS file (sandbox.css for those who were wondering):

div.geshifilter span.ext {
  background: none;
  padding-right:0;
}

As you can see by the following screen shot, the icon no longer appears in my code:

GeSHi Filter with no icon

I hope this was able to help somebody else out.

comments powered by Disqus

Older · View Archive (34)

Using the WorkXpress API: Data Formats

WorkXpress Now that you know how to use the WorkXpress API, it’s time to learn about some more advanced concepts. Data formats define how Field values are stored within WorkXpress. These values can be useful for finding out more information about certain values, and will need to be used when storing data into certain Field Types.

Newer

Using the WorkXpress API: Display Formats

WorkXpress You have learned about all of the functions. You understand the data formats. What could possibly be left before mastering the WorkXpress API? Display formats is the answer.