Last year I would have tried to approach this problem with some kind of image/text replacement... This year it's a whole new ballgame. The Drupal theming layer is like an onion and I continue to pull back the outer pieces and get to better and better stuff. Maybe it is more like a Parfait (thanks Donkey from Shrek) ;)
So here's what I wanted to do. Drupal gives us a teaser output with comment links.
3 comments | 2 new comments
Great, awesome, cool... great to have, now I want more... I want an image to replace the word "comments". I'm not going to rely on css alone... I'm not going to rely on some jQuery (which I love)... I'm going to use hook_link_alter and get it done in the code.
Sometimes... most of the times... I don't want the "split summary at cursor" option on the sites I develop. There are any number of reasons I don't want it. Most of the times, it just isn't relevant and others... I just don't want the users asking a milion quesitons.
And inevetibally, there is more stuff I don't want in my forms, want differently, or want moved.
My solution has been that on all the sites I develop I have a custom module. In this modules is one of my most used hooks... form alter. I have it all set up and commended out some of the lines but leave them in for quick reference...
I'll show it to you, then explain a little more....My module name is theme_thingee, and here's how I have it set up.
Just because you CAN overwrite views template files... doesn't mean you always want to. Or I should say there are times when all of the mark-up just isn't needed, or just a little more would be nice. When Views 2 gave us the ability to re-write the markup of the field... I was very happy... Now, thanks to bangpound and a video (http://adaptivethemes.com/semantic-views-module-for-drupal-6-video-tutorial) by the incredible Jeff Burnz... I have a new fav module of the moment.
project page
the world is a better place because of imagecache, imageAPI, and filefield image. Imagecache has more and more contributed/add-on modules... it is without a doubt the premier image handler in Drupal
Imagecache Profiles
project page
this little gem has saved me from delving into php code on so many occasions.
I spent quite a bit of time trying to get that Flickr to work with my blog. It was a nightmare... Hopefully someone will come across this blog and find their solution much, much faster than I did.
The problem:
The user id
I got all kinds of errors no matter what I tired.
error 1 user not found error 2 undefined or something unknown...
Getting images to play nicely is not always easy. A content management system like Drupal has so many advantages, and so many options, and so many ideas. The options around images is no joke. Lots of options, lots of solutions, and benefits to many different choices. This blogthingee is to discuss one of those options, specifically, displaying images inline in Drupal 6.
There is more to maintaining a blog than writing stuff to share and hope someone reads it. The time involved, the technology to make it happen, the not to mention the shameless promotion. This blogthingee is about the tech behind the drop that gets some of the work done for you.