Drupal social publishing software

Drupal is a powerful content management system and framework that makes building powerful websites possible for mere mortals. Some of the posts here will be syndicated to Drupal planet.

Sep
7
2007

Making outbound links generic

I'm looking for a good way to make outbound links from a Drupal site not show the full path of the referring page when the user reaches an external server. There are some posts in the Drupal forum about doing this sort of thing. In short, instead of wanting to track clicks I'm more interested in not making the internal URL evident to the external server. For example if I have an internal page at the following URL:

http://example.com/top-job-applicants

One easy way is of course not to use path aliases and that would be the quick work-around. However, in some cases I want users to be able to remember a URL and most don't recall 'node/1234' as well as they do 'job-applicants'. The challenge is that for privacy reasons I don't want to make evident to the operators of a server linked from the internal page that the user is an applicant (and maybe they aren't but are a prospect I want to encourage to apply).

A cursory look at the modules list didn't reveal the answer. Likely a module for this with a filter that can be applied to redirect all links through it will be the solution.

Aug
21
2007

Summer of code and other Drupal greatness

Google's Summer of Code 2007 came to an end earlier today. The Drupal project is left with some great new innovations. And on top of interesting things like the DAST project for automating deployment and staging there is a new Autopilot module that looks promising. (Haven't tested it yet but will soon!) Many great new things to test and of course sites to build. It is also worth noting that everyone interested in Drupal should stop over and take the survey to help give some feedback about where Drupal should go in version 7 and beyond. Which reminds me it's time to get cracking on testing with Drupal 6. New file management here I come!

Aug
14
2007

Where the Drupal spam module doesn't work

Last week I wrote about Drupal spam options. In that piece I commented that I hadn't used the Akismet service. Sometime after that post I was reminded of a site where I have a great many problems with spam. Wanting to run a forum it is constantly overrun with spam. For some reason the Spam module in contrib doesn't seem to consistently delete or unpublish nodes that are spam. On this site there isn't a problem because it handles comments well (though Sunday a few comments did get through). Back to the other site where I installed Akismet over the weekend and low and behold the spam problem instantly dried up. It is clear from this little experiment that both are valuable tools in the anti-spam arsenal and have a place being used together. Thanks for everyone's comments!

Aug
9
2007

User profiles as nodes or not in Drupal

As I go through the lullabot podcasts one of them hit on a challenge I'm working on. I have a series of related sites and the need to have complex user profiles and different user profiles for different roles. There are several ways to do this with modules that make user profiles into full blown nodes. Then a little CCK/Views magic and life is very good. The problem is that then user profiles are nodes.

So you say that's what I wanted and in many ways it is but I want to do two things that the profile module does and don't work with profiles as nodes. First I want to share tables for profiles but not share a node table. Your identity is the same on the network of sites but the content is different on each site. Second I want the field-level access control that comes with profiles. The CCK table structure works much better for my needs as these are each 100-field profiles. It seems for the moment that short of rewriting the profile module, which the current timeline doesn't allow, I'll have to forgo the sharing of profile tables and disable search on the site overall (not a huge loss in this case) and then maybe take a look at the profile module. In the end I think we probably need profiles that are pseudo full nodes.

The solution might look something like this:

Aug
7
2007

Best ways to handle spam in Drupal?

Recently my iPod and now my iPhone has been filling with the excellent Lullabot Podcast. The podcast covers everything Drupal and I've been working back through some of the previous episodes. Episode 40 covers the top 40 Drupal projects. The list is great. I've used many of the modules and I'm now experimenting with many others.

The question I came across has to do with spam handling. I'm using the Spam module and pretty happy with it. Every once in a while something slips through and very rarely there has been the odd false positive but it has worked well overall. The podcast recommends the Akismet module. Does it work better? What sorts of experiences have people had who have tried both?

Aug
3
2007

Vendor lock-in

Dave Winer has been blogging about vendor lock-in for quite a while now. It occurred to me earlier as I was reading about a really cool project and realizing that this project would never be possible with commercial applications. Would it be possible to put Microsoft Content Management on a flash drive even if the license permitted it? How else could one have a flash-drive based cross-platform web-enabled application?

When companies and organizations take the stand that open-source is not for them it is often a short-sighted view. Certainly there are organizations that can't deal with open source themselves but there is no upside from skipping the numerous vendors working with open-source and there is almost certainly long term risk. What does a business do when their system is no longer supported and their data is locked-in to a particular vendor's system? Just ask some organizations that are just now trying to migrate from mainframe systems to database systems and the years of work and millions of dollars it takes to make the move.

Jul
30
2007

Drupal.org only appears to be down

There is presently a glitch on drupal.org which is displaying a blank home page to users who are not logged in. The problem is likely related to recent changes. If you login the front page works as well so it is only anonymous users who are seeing the problem.

Even when the website isn't working it is possible to download modules via FTP.

Jul
30
2007

Sure I know Dreamweaver, Front Page and more

As a hiring manager I'm always skeptical when I get a resume filled with "technical" classes from one of the myriad of technical schools around the country. When I've worked with graduates of these programs it seems they have a marginal, but usually satisfactory, understanding of how technology is supposed to work. The problem is I rarely need people who can work with technology that is working. If technology is working and things are simple there is little that end-users need. Even relatively simple tasks like deploying computers depends upon a specific understanding of the complex situation that is most business networks. Few organizations do a "out of the box" installation of a Microsoft Active Directory and run 100% machines that work in that environment. These complexities mean a technical manager is quickly looking for skills that don't come from these technical schools. Ironically because they do tend to come in people who are self-motivated to learn the technology any way they can often the requisite skills are stronger in those who haven't been through this sort of program.

So what does this have to do with Dreamweaver? A friend recently commented that when they look at resumes they similarly discount the web credentials of anyone who lists Dreamweaver, Front Page or other similar programs on their resume for much the same reasons. Usually they've gone to a class or two on web design and don't really understand the web my friend explained. It is far more important that a person who is going to be using the web heavily and designing for the web understand how the web works, what a are key factors in search engine optimization, organic marketing, usability, content management systems and customer service than an understanding of how to use a particular piece of software. In other words the conceptual body of knowledge is far more important than how to push buttons in a software package.

Extrapolating into the mechanical world the Dreamweaver and Front Page slingers of the world are shade tree mechanics. Many of them very good and able to put together quite pretty things and make things look good. Just as many a shade-tree mechanic can do wonders on that '67 Mustang the Front Pager can put the shine on a '97 vintage website. If '97 works then you're done. When it comes to working on the '06 Prius the shade tree mechanic is at a distinct disadvantage. Though at it's heart there is a gas engine, the HTML of the automotive world, there is a much more complex system in play that takes more tools and understanding than the average shade tree mechanic possesses. If you want a '07 website that can keep and build audience and become the business tool you need then you'll do what those in the know do and use a content management system. Best of all when you want an '08 website your job will be much easier.

Of course I am far from the first to raise this point. And it would be wrong to take away the idea that Dreamweaver doesn't have a place. It is a great tool for designing a site even if it is a poor tool for maintaining the content on the site once it is designed.

Jul
26
2007

Important order considerations with multiple databases in Drupal

I have been working recently with a Drupal application where it is necessary to bring in some data from a non-Drupal database. Eventually these features might roll into a module and the data may move into Drupal but for the moment it sits alone in another database.

An hour or so today disappeared into trying to figure out why various theme_ functions did not work properly. Calling theme('item_list', $list); for example returned broken pages and error messages in the log. After searching for what I was doing wrong in calling theme_ it finally hit me that the error log messages were complaining about not finding the system table and not having parts of the theme. From there it was quick to find the information (which I posted as a comment as well).

The upshot is you have to return to the 'default' database before doing theme work. Read the full version for a code examples.

Jul
17
2007

Organizational web-mastering

Every once in a while something happens that just floors me. Often I think I've seen just about every cheap-trick in the book and know all the ways people are a bit odd. A recent exchange showed that I've still got more to learn. The story starts some months back when an organization asked me to work on their website. For a multitude of reasons the group was not happy with the site they had and couldn't get satisfaction from the process they were using.

Of course I suggested a first rate content management system and we set about the process. Some domain transfer issues slowed the process further but that's a different story. When we finally got up and running the previous webmaster objected that we were using "their" content on the new site. Mind you, "thier" content consisted of only text and those texts were generated by the organization and submitted to the web maintainer for posting. So not wanting ill will the process is yet again delayed while the issue of who owns the content is worked out. The answer is pretty clear but the tactics are something any company or organization doing web work should make clear in the beginning.

Syndicate content Syndicate content