To disable this block if your site is unusable;
Log on to your mysql drupal database.
Go to the "blocks" table and find the offending block.
Change the "status" field of that block to '0' and clear the cache tables.
You could also remove the code from the corresponding boxes table (bid) or set the block input filter to html instead of php (format filter 1 or 2 in the boxes table).
If your site is broken but you can still log in and make changes;
Log in and disable, delete or modify the block that breaks your site.
Yes you can change the look of a drupal site to whatever you like with theming.
Also have a look at Drupal Showcase.<
The easiest and simplest way to embed video in a drupal post is by just copying and pasting the embed video code into the content you are making.
As with all things drupal, there's also at least one module for this;
Yes, with sufficient permission, users can update the site, and if some WYSIWYG text editors are installed, It will be as if they were editing a document on their pc.
When you need to add your own php functions to drupal, you can simply embed them in the content, but that is not the best way.
The best way to add your own PHP functions to Drupal, would be to create your own function library module.
Lets hypothetically call your PHP function library "myfunctionlib", you will need to change that everywhere to reflect your own naming convention.
To create the PHP function library module first create a folder "
In that folder create a file called
myfunctionlib.module with the following content:
In the same folder create another file called "
myfunctionlib.info" with the following content:
core" tells Drupal with which version of drupal the module works.
version" tellds drupal what the version of this module is.
Upload the module folder "
myfunctionlib" to the "
sites/all/modules" folder, enable it on the modules administration page and call it where you want to use your php functions with;
For more information on creating modules, coding standards, etc., see the Module developer's guide.
To install modules in order to customize your Drupal install:
sites/all/modules<and extract it there with your "file manager".
If you run into problems, search the module's issue queue and the forums. If your problem hasn't already been addressed, post a question, issue or contact the module maker.
See also Installing contributed modules<
If you already have a html file from your design, and are using stock drupal, then the info on these pages (Convert any website layout or template into a Drupal theme - easily! and Assigning content to regions) of the theming guide will get you along.
In short, there are the following regions;
Drupal outputs this content in
So if you place a
<?php print $left ?> (or any other one) in you html layout will output 'left' content to your design.
There are other additional strings that are output so just make sure you put those in your html (Check out a
page.tpl.php, to get an idea).
How to get your html to initially display without making a whole theme? Just copy the relevant pieces of your html design to a (copy) of
...and read the Theme Guide.