Drupal Hacking

I apologise for my last post on this topic, it probably wasn't very interesting :-)

I've done the Drupal 6 upgrade, and it was relatively painless. Most modules ported smoothly, a few required me to learn how to port modules to Drupal 6, and one I just gave up on.

On the whole, the porting is simple, Druplal.org has a pretty good howto on the topic. A few APIs have changed, and that's about it. A great tool to help with this is the coder module, which knows about the API changes, as well as Drupal's coding standards.

I've added the GeSHi module for code syntax highlighting (apologies for the planet-spam caused by this), and I've moved from marksmarty to markdown + typogrify (which I had to port to Drupal 6). I'm not too happy with the geshi colour-scheme and indenting, but it does a good enough job. I should write a "command prompt" mode for it, but that can wait for now...

Akismet is currently totally broken for Drupal 6, even if it's labelled as being in beta. I got about half way through porting it before giving up and switching to mollom, which looks like a pretty good replacement (and it takes care of the sign-up form too).

Finally, the subject of input-filters. Drupal lets you define a "default filter", but that filter has to be available for everyone, even comments. So your default filter has to protect against XSS. I'd much prefer it if commenters used a simple, locked-down input-format, and I used a nice markdown format.

I'm not the only one to notice this, and it seems like it'll be fixed in Drupal 7. Until then, I'm using remember-filter which remembers that I use markdown, and all the commenters use the default, locked-down filter. (Again, ported.)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Nice Post, I am agree

Nice Post, I am agree Druplal.org has a pretty good howto on the topic & Drupal lets you define a "default filter".. It's really cool
Thank you for this blog

I must say that they’re

I must say that they’re right. You have done a great job.

puzzle games online

A decent approach to begin searching for a Drupal designer whose work and commitment has been tried and attempted is by picking somebody who has been a normal supporter puzzle games to the Drupal group. There are different gatherings, discussion, online journals, and profile postings in the different sites identified with Drupal advancement. For the most part, these promotions hold point by point profiles of the Drupal designers from all over the topographies.

Great Info content. Can you

Great Info content. Can you reference me back about this, if you don’t mind. Thank you so much.
julie benz defiance amanda rosewater leather jacket

You are great.

implementing Drupal 6 upgrade, this time I want to do so but did not. You are great.

From the cats' perspective,

From the cats' perspective, definitely doesn't make any sense. Unfortunately, when kitty plays in the Christmas tree, she's risking injury to herself, and for your precious ornaments. promotional bags

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.