styling drupal output


What is the correct way of styling module output, lets say the user login fields? Is it to use firebug to collect the used classes and id´s and override these in your own stylesheet or is it another way such that u can use your own classes id´s..for instance if you have already made a css/html static version of the site u are about to implement in drupal?

any help is appreciated!

Fatal error: bootstrap 2224, on all sites

Went to make some changes on localhost today and only 1 of my sites will load. The rest give me; Fatal error: Maximum execution time of 30 seconds exceeded in ...\ on line 2224

function _drupal_error_handler($error_level, $message, $filename, $line, $context) {
require_once DRUPAL_ROOT . '/includes/';
_drupal_error_handler_real($error_level, $message, $filename, $line, $context);

That's line of code at 2224, I'm PHP newb and not sure where to start.

SOLVED: I'm 100% retarded.

Only 1 Content Type showing

When I click on "Add Content" I get directed to "Create Basic Page" content type even though I have several content types set up. On other Drupal installs I have a choice of what content type I want to add, on this one I dont. Please help!!

How to allow multiple blocks in a module of Drupal

Hi all!
I am trying to make a module for Drupal 7 that provides a block and has certain configuration settings. Now what I want is that I want to provide 5 blocks to the user so that they can use different settings in each block. In other words, I want to provide each block a separate set of settings. How can I do that?


Capture generated Drupal 7 html output into a variable

Trying to hook into Drupal 7 from an external php file by using various variants of ...

function getDrupalHTML() {
    define('DRUPAL_ROOT', getcwd());
    require_once DRUPAL_ROOT . '/includes/';
    $contents = ob_get_clean();
    return $contents;

However, it seems D7 just spits out the HTML to the browser on the menu_execute_active_handler() call.

Module to create forms using D7 forms API. Need to present results using Views.


I have seen some videos online on how to create forms using D7 forms API. They are a bit over my head. Is there a module that helps to build them? I need to build a form that:

  • Has dynamic form elements using jQuery
  • Has client-side validation
  • Creates a new node of a set content type on form submission



Subscribe with RSS Subscribe to RSS - Drupal 7.x