the official blog of webthingee.com
blogthingee logo
  • to webthingee.com
  • DRUPAL BLOG
  • LOGIN
  • CONTACT
Home

code

Change that Form Element - Give a fieldset a class

  • code
  • drupal
  • php
  • theme
I looked for this a few times and didn't find it so I decided to write a quick blog post for future themers to discover. You see Drupal is full of forms and fields. There are any number of reasons that you may want an element on a form to be identified by a unique class or ID. I ran into this today when I wanted to theme a fieldset, provided by a module, that didn't have a class on the fieldset. Now there are many ways to theme a fieldset by using the divs that contain the fieldset.
  • webthingee's blog
  • 67 comments
  • Read more

Cron run ?!? I can't get it to crawl!

  • code
  • drupal
Cron is one of the most important aspects of having a drupal site. And it can be a pain to figure out, configure, and be sure it's running. I have tried several different processes, and here is the one I like right now...
  • webthingee's blog
  • 93 comments
  • Read more
  • 3 attachments

This Themer's Path to a Pane

  • code
  • drupal
  • theme
A Themer's Solution....

I have in my theme a directory called plugins.
in there I have layouts and styles
in styles I have a folder called thintop
and... in there I have 2 files (tho I have commented out the template file in favor of this fancy rendering which gives me admin links and extra stuff in my pane...
thintop.inc and THEME-NAME-thintop.tpl.php
(based on http://drupal.org/node/495654)
good info at http://drupal.org/node/427192
  • webthingee's blog
  • 76 comments
  • Read more

Get Rid of Split at Cursor

  • code
  • drupal
  • snippet

unset($form['body_field']['teaser_include']);

http://drupal.org/node/225955

I place this in a module.
use hook_form_alter to apply.

Cron in cPanel

  • code
  • drupal
  • snippet

php /home/INSERT+DIR+NAME+HERE/public_html/cron.php

http://drupal.org/node/81380

Tagthingees

build code css design development drupal gmap how to jQuery module mysql php seo snippet software test text editor theme training trigger views views2 webform workflow
more tags

Recent blog posts

  • Change that Form Element - Give a fieldset a class
  • More Bigger Again - Preprocess - this time to get some Class
  • Too Much?! more power from your node.tpl
  • It's hook_link_alter over jQuery or CSS alone
  • Takeaways From Do It With Drupal
  • Cron run ?!? I can't get it to crawl!
  • Maybe I Don't Want that in my Form
  • This Themer's Path to a Pane
  • Module Shout Out! Semantic Views
  • Preprocess for some Shortcuts
more

Snippet-thingee

  • Get Rid of Split at Cursor
  • Cron in cPanel
  • .htaccess for PHP Memory Limit Increase
  • Drupal Set Message - short
  • Embed Webform (or node) into a Node
  • {View All Snippets}
Syndicate content