Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Mint Integration with Drupal 5

Hi all! I don’t know if this is in the right forum area or not, but whatever…

I’ve been working on upgrading my site ( http://malexmedia.net ) to the newest stable version of Drupal, (Drupal 5.x) which has involved re-writing/auditing my old custom Drupal plugins for conformance with best practices and Drupal’s new API.

Anyway, one of my simple modules is designed to insert Mint’s tracking code in the header of generated pages without any mucking about in the theme engine.

Thus, you don’t need to do any coding, patching, or sacrifice your favorite theme. All you need to do is install the module and tell it the path to Mint’s tracking Javascript.

Even better, it uses Drupal’s permissions framework to (optionally) exclude specified user roles from Mint tracking. (For example, I have all of my staff excluded from Mint. So my statistics only represent visitor traffic.)

So I guess I’m just pinging the community here to see if there’s any interest in something like this. I’m planning on releasing it under the GPL eventually, but if there’s a need for something like this, I can make it available sooner.

ttyl! —Alex Markley

For clarification… This module is for Drupal 5.x only. I’ll have a version for Drupal 6.x once that API is closer to being stable, but there will never be a version that works for 4.7.x or older versions of Drupal.

Also, I do not support the Bird Feeder pepper. I used to have some code that would attempt such a thing, but it proved to be too kludgey, unreliable, and impossible to scale.

However, if somebody did have a good idea for a way to implement Bird Feeder integration, I’d gladly merge the patch and make it available to anybody that wants it… Just make sure you can turn the functionality off, since I don’t think my company would want to use it. ;)

ttyl! —Alex Markley

nickorr
Minted
Posted on Sep 20, '07 at 10:30 pm

Alex,

are you making this module available to others? Is it possible to download it from somewhere?

Thanks, Nick

Hi Nick!

Thanks for your interest. I don’t currently have a public download link available for this code, but anyone who is interested is encouraged to email me: http://malexmedia.net/contact/malex

I’ll send a copy straight-away. ;)

ttyl! —Alex

I know this is an old topic, but I’ve made an official release of my Mint / Drupal integration.

It’s a release for Drupal 6 (not Drupal 5) but the code is GPL’d, the development is public, and it should ‘just work’ for most everybody.

Download it here: http://malexmedia.net/project/mint

I think he meant it is available from http://drupal.org/project/mint

Great job. This is very useful!

I am wondering how i can integrate the local searches pepper with drupal search. It seems to want the query variable from get but with nice urls turned on it looks like this /search/node/search term

do you know anyway to make this work with the local searches pepper?

Search integration is something that I am thinking of working on, however it requires a large amount of work, since Mint cannot currently track searches from non-query URLs.

Unless someone beats me to it, I will eventually get around to trying to understand how Mint Peppers work (I don’t have a large amount of PHP experience) and try to create a non-query string search pepper, which seems to be a popular request in the forums.

Any suggestions or pointers would be greatly appreciated!

You must be logged in to reply. Login above or create an account