User login

How to

Information on how to do something... anything.

How to redirect after a Drupal form by the way you link to the form

Update: A Drupal 7 approach.

Redirecting Users After Submitting a Form in Drupal 5
http://drupal.org/node/134000

Agaric's extensive testing laboratory has verified that addding a string in this form works, for node 20:

?destination=node%2F20

When done directly in the browser. The code %2F is an interpretation of the slash, "/".

The right way:

Drush: a love story

Thanks to Moshe Weitzman at the latest Drupal Groups Boston meetup, Agaric was introduced, formally, to Drush. Although our paths had crossed in the crowds of modules before, this time it was love at first site.

Here's the first date.

Checked out Drush to the sites/all/modules directory. We expect this to be the last time we have to do this!

Grep (search) through files in multiple folders avoiding .svn directories

How to grep through all modules and include files in the Drupal code base
http://www.drupal4hu.com/node/78

grep LOWER modules//.{module,inc} includes/*inc

And everybody has their own way. See the link.

Resolution

Testing email from the command line on GNU-Linux

Learning from May First People Link:

mail -s "hello jamie" jamie@a-friend-of-agaricdesign.org

this is the body.
.
Cc:

Don't forget that one period to close the body.

If it tells you command mail not found, you're starting at the beginning, and you should run:

aptitude install mailx

Administering CCK the Agaric Way

  • with the news blurb on front page -- how make it have start of txt not

Helping Agaric debug site availability or network issues for a site

Debugging site availability issues to a MS Windows computer.

Click on Start, Run, and then type cmd and enter.

On the command prompt opened:

  • type ping www.example.com (press enter)
  • type tracert www.example.com (press enter)
  • type telnet www.example.com 80 (press enter)

For all three, you can copy the output and e-mail it.

Theming the User Profile Pictures in Drupal

In yet another installment of my latest documenting saga, we're going to cut through all the crap, and learn how to theme user profile pics in drupal.

I'm not going to take full credit for this, as most of the work was done by the good folks over at Lullabot...
http://www.lullabot.com/articles/imagecache_example_user_profile_pictures

How to set cron for a drupal site

So you've got yourself a drupal site and you're super tired of running cron by hand every day, or every time you want to refresh your news feeds or whatever...

Maybe you like running cron manually all the time, if so, stop reading now and go get a muffin...

Resolution

Anyway, here's how to do it in a few easy steps, aka the agaric way...

First, go to your command line and type:

sudo crontab -l

That'll show you what's already scheduled to run...

Then, type:

XBOX 360 - The Three Lights of Death - Noooooooooooooo!!!!!

So you've dropped a million dollars on an awesome home theater setup, another million on an xbox 360, all the cords, controllers, xbox live, cable internet, a nice comfy couch, beer, chips, and Halo 3.

So you frantically take the wrapping off of halo 3, press power on the xbox 360, and....

...you get nothing, just 3 flashing red lights on the ring of light around the power button.

Syndicate content