- http://drupal.org/node/1151704

This is my first documentation page for Drupal.org. I hope I've not made too many mistakes. I'm flagging it up here, so others can check if it is a useful page, and if I've put it in the right place.

The page was originally written for my blog, but I've had a change of heart and think I'd prefer to contribute stuff like this directly to Drupal.org wherever appropriate. I hope it is appropriate.

Comments

arianek’s picture

Issue tags: +theming

tag

Anonymous’s picture

This is nifty trick. Your write up is clear and engaging. I'll need to try this out myself, but one question that immediately jumps to my mind: because you are replacing the region variable with a function call, does that prevent region highlighting on the block admin page?

Mark Nielsen’s picture

Thanks for your kind feedback, FilmKnurd.

I'm using this technique on a couple of sites, and I've not noticed that I'm missing the region highlighting. "My" code was partly put together by studying others'. From somewhere, I've decided to append drupal_get_content() to the list of blocks. I'm wondering if the region highlighting is added by that.

I'm actually about to do some further work on this, so I'll double check things.