Following the creative path


I had my introduction to Wintergrass yesterday. What an exciting event!
Vendors were selling instruments, books, CDs, and more. People found little nooks all over the Shearton Hotel to jam together. 5 stages of live music and three were in the hotel making it easy to find something good everywhere you turned.

A couple of bands I saw had excellent performances and I would recommend seeing them:

  • The Infamous Stringdusters
  • The Greencards
  • Uncle Earl (although their sound guy could use a little training)

All of the music was fantastic and people really seemed to enjoy themselves. Workshops were held earlier in the day, but I did not get a chance to attend any.

It was great to experience and I'm definitely going back next year with plans to stay in Tacoma for at least a couple of days so I can get the full experience. Maybe I'll be capable enough to jam with some folks by then!

Link to Contact Form

I am using the site-wide Contact form which is managed by the contact module. I wanted to link to it in the main content of several nodes. For instance, I want to write

Please contact RUF Designs for more information about these services...

where "contact RUF Designs" links to the form. I hoped I could write something like:

<a href="contact">contact RUF Designs</a>

but that did not work. When the page is displayed it added 'node/' before contact. I decided to do what the contact module does. A little PHP and the problem is solved. This solution requires that you are allowed to use PHP Code as an Input Format. If you have Administrator privileges you can use the PHP Code format. If you are not an Adminstrator, talk to your Admin to see if you can get access; otherwise write an absolute URL to access the Contact form.

1. When editing node content (in the Body field) make sure the Input Format is set to PHP.
2. Use PHP to get the correct URL for the Contact form (this works when you run Drupal in a subdirectory too):

<a href="<?php print url('contact') ?>">contact RUF Designs</a>

That's it! There maybe other ways to do it, but this was the first one I found that works well no matter where I have Drupal installed.

Views URLs and Arguments

So I finally figured out how to use Arguements in Views without breaking the view!

So I wanted a clean URL to a View which displayed all nodes for a particular vocabulary. without arguments the working URL is

where 3 represents the vocabulary ID

I wanted to something simpler like:

Edit the view and in the Page section set the URL the way you want it to look:

URL: drupal

In the Arguments section, add an argument to support all of the nodes associated with a vocabulary item:

Add Argument = Taxonomy: Vocabulary ID
Click Add Argument

Still in the Arguments section, set

Default = Display All Values

then when you go to the URL: it displays the page version of my view.

Whoa the Devel Module!

So I joined the Drupal-dojo group and I'm trying to keep up, but they move fast! I started watching the lesson #1 video (screencast):

I finally installed the Devel module and all I can say is this is soooo coool! Never have I seen a framework provide such a tool for the developers to use.

If you are a developer like me, you may have your web server set up to show all errors. Well this does not work so well with Devel since it starts to show tons of Notice errors. I changed the error reporting in index.php:

error_reporting(E_ALL & ~E_NOTICE);

but I wonder if there is another way to set the error reporting?

Maintenance Plans

Works continues with Myrna Dunlop, Psychotherapist and Search Engine Optimization site. Meta tags and content were updated to keep the site personal and create the opportunity for visitors to call her for more details.

Syndicate content