PHP
Tagged:  •    •  

My Autolink module has now been updated to work with Drupal 4.7.

For the uninitiated, here’s an excerpt from the read me file:

The Autolink module saves users from having to manually enter links for commonly used URLs.

The module scans posts for a set of terms. Any term found is optionally replaced with some other text, and then automatically linked to its corresponding URL.

The module uses Drupal’s built in taxonomy feature, so you can organize your terms in a Drupal vocabulary. Autolink terms are represented with the taxonomy terms in the autolink vocabulary. The descriptions are used to provide the URL that the term should link to.

Tagged:  •  

I’ve updated my Autolink Drupal module to version 1.2.

New with this version is the ability to add text which will be inserted into a rel=”” attribute on the automatically generated link.

You can use this to insert anything relevant into the rel attribute, for example you could use it to add XFN information to links.

Tagged:  •    •  

The login block in Drupal has been annoying me, as it’s a bit big and clunky for a site like this one, where the expectation is that most users won’t have an account and will not want to login.

I figured that it ought to be possible to make some smart menu login and register items in the navigation block which changed depending on whether or not someone was already logged in.

For various technical reasons this seems to be tricky (probably I just haven’t figured out how to do it), so I came up with an alternative.

The Smaller Login module implements a much smaller login block, which just contains a single line containing login and register links. If a user is already logged in, the whole block goes away (you can enable the log out block in the navigation menu to allow people to log out once they have logged in).

You can see the module in action on this site (if you’re not logged in, it should be visible at the top of the right-hand sidebar).

Syndicate content