Empower developers with tools that assist with developing and debugging the frontend or backend of the site.

latexgen

This simple module allows you to add a excerpt of latex to a content type. You will then get a "download PDF" link at the bottom of pages of that type, and latex will be run, using your code, and the output sent to your browser.

Remarkably, it seems to be pretty fast !

The full process (and here is the trick) is that your latex code is "evaled" by drupal - so, you can put

One day I was walking down the street, and I saw a <?php echo $node->title ?>.

Then, the result is run through latex, dvips and finally ps2pdf. I find this route gives me the best results.

So, how to use it:

  • install/enable the module as per normal
  • add a content type, or edit an existing content type
  • at the bottom, you'll find a new section marked Latex tex
  • Add tex code in there. This should be the FULL code you want to appear in your file.tex. (right now, the latex TEXINPUT path is set to include the module's directory, and the site's files directory. In general, I'd guess most people should keep the latex input to a minimum and simply include a larger file from one of those places....)
  • Thats it - not.

In reality, if you know about latex, you will want to make lots of changes to this module to make sure it builds things just the way you want. I've not made things configurable from the UI - sorry.

Relevant Content

What is it?

This module provides a block which lists relevant content. This is done using Presets to provide configuration to filter for specific content types and vocabularies and to limit the maximum size. The result are a list of nodes which the module considers most relevant based on the categorization of the current page. This is achieved by finding other nodes which contain the most amount of taxonomy terms in common.

The older Drupal 6 module provided this as Block and a CCK Field Type, however given the direction Drupal is taking with Layout Builder I have currently opted to for just a Block. Each preset is its own exportable configuration entity so can be exported and managed through Configuration Management. Each Preset gets its own block you can place.

Search Engine Referers

Search Engine Referers

Visitors find your site with a search engine. Are you interested in what they were searching for?

Search Engine Referers is a simple module to view the search engine queries used by your visitors. It parses the referer URLs of popular search engines in you access log and extracts the search queries. Currently supported: Google, Yahoo!, Live.com, Yandex.ru, Rambler.ru.

PNG Fix

PNG Fix - Logo

Includes a jQuery PNG Fix to correctly handle PNG transparency in Windows Internet Explorer 5.5 and 6.

Submenu Tree

Submenu Tree provides a method for structuring content hierarchically. For content which has a menu link, Submenu Tree display a list of content which is at the same level or below the content in the menu.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools