Rock the Drop has the single mission to make others' experiences with Drupal much simpler. As we continue to build custom Drupal sites, we encounter challenging situations that require REAL know-how with the cool blue drop. As our knowledge expands, so does yours. Stick around... it only gets better.
We are also front- and back-end Drupal Themers, Developers and PHP coders; available for development in NYC and abroad with no limit on size and scope.

Access ROOT User on a Mac

Countless times I've searched and searched for how to access root for administrative duties on a mac. Each time I was met with a "just use sudo" in some way shape or form. But what happens when you truly want to be ROOT?! For whatever reason, if you're not able to do what you need to do as a sudo'd root or maybe you've been tired of typing "sudo" for any sequence of commands, There's a solution.

sudo su -

Drupal Permissions Set Properly.. Still Saying "Access Denied"

A user who should clearly have permission to edit a node or other content cannot. You've checked the permissions and roles over and over again and everything looks great. The user can log in, make changes to some other content but something's wrong with some specific bit and you can't figure out why.
Hopefully, that's the reason you're here. If not, maybe you'll learn something anyway. Or maybe you should just click another Google link; 'cause that's what I'd do. ;)

Conditional Stylesheet for IE 8

In short, when you need conditional CSS code for IE 8, dont use the typical method of inclusion as we did for IE 7. It just doesn't work. This is ignored: [if IE 8]

Instead, use this: [if gte IE 8]

Here are the full code entries. The WRONG way:
<!--[if IE 8]>
<link type="text/css" rel="stylesheet" media="all" href="ie8.css" />
<![endif]-->

and The CORRECT way:
[if gte IE 8]
<link type="text/css" rel="stylesheet" media="all" href="ie8.css" />
<![endif]-->

Drupal 7 Theme Caching Problem

So I started on a new Drupal 7 project. Got my First Drupal 7 Theme problem. A small blog site for a less-than-famous cook.. but one who LOVES to share new ideas on what to eat. The moment I changed themes was my first disappointment with Drupal 7...

Even though the Regions were named as they were in the default Bartik theme, None of the block content rendered in the expected places. Yes, I saved the individual blocks... and yes, I saved the Blocks page itself.

The problem, it turns out, is that I needed to CLEAR the CACHE here: /config/development/performance

Just installed Drupal 7 and Getting MANY errors

I'm going to save you the trouble of sifting through my error messages to ensure you got the right page. You do.
I'm betting you are running a D7 (Drupal 7) install on a shared server. You JUST installed it (or perhaps it and a bunch of modules with Drush). You ran cron.. and BANG!! LOTS of CRAZY ERRORS. Specifically, permission denied errors trying to delete directories you didn't know anything about... probably named by modules you don't use and didn't even install.. YEKKK!!

DAMMIT! What do you do? OK, cutting to the chase:

Theme Function Overrides - Use 'em!

I apologize if this read is a bit strange. I moved the 'meat' of this Drupal Help bit to the top so you don't waste time if all you want to do override a function. I'd rather you be productive then read my non-functional rant. . .

Here's generally how it works:

(Broken) Manual Cron Bad Mix With path_to_theme

If you run cron manually and have custom theme code that lives on a database - code that runs a call to 'path_to_theme' - then your cron run probably doesn't finish (start ?).

the theme in use: sites/all/themes/zen/sub-theme
php code run in a block lives here: sites/all/themes/zen/sub-theme/block_code/
Run Cron Manually: /admin/reports/status/run-cron

The Markle Residence for Women

Submitted by khalim on Thu, 2010-12-02 11:01

Original Developer not available? Automated tasks gone awry? I'll figure it all out for you, teach you what I've learned and give you the power to control your site again -- Even when it's NOT Drupal based. Need added functionality by a real programmer - not just a "Drupal Guy"? Congratulations, you found me! High-Profile? Non-Profit? Don't let me get away. ;)

Salvation Army - The Markle Evangeline Residence for Women, themarkle.org

Install Drupal In Seconds

YES - including all your favorite modules

Install Drupal FAST!

For those who know already, you know I'm talking about using drush to install Drupal. If you don't know what Drush is, using it will make you begin to love Drupal all over again - Tedious installs and upgrades are over with this tool... OVER.

Use node_load and node_save to Import Data

So you have a CSV file that as a developer, you already know how to manipulate and read from. You also know how to create objects or arrays from this CSV file. But you're running Drupal 6 and you want the content in this file to be content on the site. Most dev guys will tell you that you need to write custom queries to extend the Drupal Schema and then write custom code to get it on the page.

Don't forget... BYODD: Backup Your Own Database Dummy! We're Not responsible for you screwing up your database if you follow these directions.

User login

Image CAPTCHA
Enter the characters shown in the image.