Recent posts about Content Management Systems
What we’re thinking about here at Raised Eyebrow these days. You can subscribe to our blog by RSS, or sign up for email updates.
-
Strange permissions on Coda file uploads
June, 24 2009 CommentsI've been working with Coda now for a few weeks and it's been going pretty smoothly. There are a few bugs in the software, or they may even be feature requests :) When creating a file locally and subsequently uploading it to the server the file permissions are set to 700. This was causing all sorts of weirdness on a Drupal site that I'm currently theming. This is definitely a bug, however it's pretty easy to overcome. In "Preferences -> Transfers" there is an option to "Set permissions on upload". Set this to 644. This is the recommended permission for files in your theme folder in Drupal. You should now have no more problems when uploading files. If you've already uploaded files, it's pretty easy to change via the command line using the chmod command:
-
Drupal Coda Book
June, 4 2009 CommentsI'd been itching to try out Coda as my development tool, and their recent 3 day sale meant I got a copy for $45. It's pretty good so far, I have a couple of issues with it that I'll cover in a later post. One really nice thing about it is the Books feature. This allows you to add reference material to your Coda development environment and search it without having to go to a browser. I'm always needing the Drupal API, well I actually use this one http://drupalcontrib.org/, which is a brilliant Core and Contrib API, perfect for those tricky Views or Webform moments. Setting up a book is really easy, and here is a screen shot of the settings for a book for Drupal 5 and Drupal 6.
-
Drupal 6 module's page unresponsive
March, 26 2009 CommentsDiscovered a very upsetting scenario today while building out a Drupal 6 site. If you have the Update module enabled and drupal.org goes down your module admin page at
<a href="http://www.example.com/admin/build/modules">www.example.com/admin/build/modules[/geshifilter-code] stops responding. Why? I think it's because somewhere in the Update module is a call toupdates.drupal.org.The quick and dirty solution is to temporarily disable the module via the
systemtable in your database.How do I do that?
-
Our Theme Toolkit
March, 5 2009 CommentsSo we (Christopher and I) are at DrupalCon, and one of the questions to the floor at The Themer's Toolkit was "What theme toolkit do you use?". I thought I'd give a quick overview of our toolkit:
Theme
We've been using a custom three column layout that Christopher developed way back when, but recently we've been tweaking it considerably, to include new features such as video support, stylesheet switching, custom search form and IE support. It's now similar to Zen in many ways and provides context/content specific classes and ids for ease of styling. We have plans for the future to create a more flexible theme based on CSS frameworks.
-
What public radio can teach you about fundraising
March, 4 2009 CommentsSlate has a great article up on "The 10 cunning ways public radio stations convince you to give them money" -- as I was reading it (and listening to the fabulous audio clips that accompany the article), I reflected on how many of these same smart fundraising techniques apply to good causes everywhere.
-
Views random sort not working
March, 4 2009 CommentsRecently we developed a simple view that used a random sort to pull one node of a certain content type on each page visit. This is easy to set up and provides satisfactory results. We set it up, logged out, refreshed the page and it didn't work. The first load was random, but any refresh after that resulted in the same node. Frustrated as to why this was happening I went digging in the view, then in the theming, and after about an hour debugging, realized that site caching was enabled. So that's a bit of a problem,
"Views random sort does not work the way you would expect with caching enabled "
-
Pivot Legal - A Drupal breakdown
February, 24 2009 CommentsAs Melanie mentioned, we just launched a site for Pivot Legal, and a successful launch it was too. I thought I'd take a moment to give a quick breakdown of some of the tricks and wizardry we incorporated on that site.
Valid Code
For starters, we succeeded in getting most of the site to be valid XHTML, of course with Drupal there are parts where client content entry will cause some warnings and Drupals own internals will also do the same, but most of the pages on this site, within our control, are valid.
-
Displaying Webform results in a block
January, 14 2009 CommentsWe use the webform module for most of our form needs on our client sites. It's a pretty good module that provides most of the functionality required. The most important part of the webforms module is the submission data. The reason for the form in the first place is to gather data that can be analyzed and then acted on. Webform has a results area where you can view all the submitted data, analyze it, download it and export it. It does this using some useful built in functions such as webform_get_submissions.
However, say you want to get the number of submissions to a particular field in a form and then display the most popular choices in a block, a little similar to a poll but the data is collected as part of a webform. For our example, the form is collecting a list of reasons for donating and then displaying the top 5 reasons in a block on the site.
-
When is a view not a view? When it's a page
December, 8 2008 CommentsWe've come across an issue quite a few times during the development/build of a site where a client wants to include some content above or below a view and wants to have the ability to edit that content. There are a number of ways to achieve this functionality:
-
Search Engine Friendly URL's and Drupal - Part 2
December, 3 2008 CommentsIn my previous post I showed you how to set the friendly URL for each page/piece of content on your site. Hand curating can be fun, but it's also time consuming and requires a little thought. It can also be a little cumbersome when you have a long title, like the title of this post. In steps the Path Auto module to save the day. In conjunction with the Token module, Path Auto automates the task of creating and setting these URL's. How does it work? It's pretty simple really.