Quick and simple question about Blocks

Is there an easy way to get a block to show an image?

I tried creating a block to do that (using the full html input option) the following ways:

<a href="www.example.com" target="_blank"><img src="/ads/thead.jpg" /></a> - no luck
<a href="www.example.com" target="_blank"><img src="http://www.mysite.com/ads/thead.jpg" /></a> - no luck
<img src="/ads/thead.jpg" /> - no luck
<img src="/ads/thead.jpg"></a> - no luck

etc.

breadcrumbs should show more than "home" on nodes

I'm customizing the bluemarine theme at the moment.
One problem i can't solve myself is, that i want to have the bradcrumbs displayed on the node pages the same way they are shown in the admin-sections. At the moment it only shows "home" on all nodes.

The names of the breadcrumbs should be the menu item names. So in case of a gallery it could be something like "home >> gallery >> people >> portraits >> mom"

My current theme.tpl.php looks like this:

// $Id: page.tpl.php,v 1.28 2008/01/24 09:42:52 goba Exp $


print $language->language " xml:lang=" print $language->language " dir=" print $language->dir ">


print $head_title
print $head
print $styles
print $scripts

/* Needed to avoid Flash of Unstyle Content in IE */

Only local images are allowed.

D6, eAccel [and|not] Drupal Caching

I just moved a development site from my local machine to the server running CentOS-5. That machine runs a number of sites. I am also running eAccellerator.

My GUESS is that I should disable Drupal's caching, possibly compression, while eventually enabling JS and CSS optimization.

Can some kind person substitute their good judgment for my intuitive guesswork?

Thanks

Installation error re unlink CSS error

warning: unlink(css/style.css) [function.unlink]: Permission denied in /var/www/vhosts/weecounty.co.uk/httpdocs/includes/file.inc on line 435.

I have just installed drupal 6.x on apache, everything seems to have gone OK except I am getting the above error and I am showing no styling.

how do I add a second administrator

I would like to give one of my employees administrator rights. She needs to be able to edit everything.

I tried creating an admin role and checking every checkbox but this doesn't seem to work. She can not edit my blogs or any stories.

what am I missing?

Thanks so much for taking the time to read my request

-todd

Help with menu upgrade

In D5 I had the following in my hook_menu:

    $result = db_query('SELECT format, name FROM {filter_formats}');
    while ($filter = db_fetch_array($result)) {
      $enabled = db_result(db_query("SELECT COUNT(delta) FROM {filters} WHERE format=%d AND module='glossary'", $filter['format']));
      if ($enabled || !variable_get('glossary_hide_menus', false)) {
      $items[] = array(
        'path' => 'admin/settings/glossary/filter/'. $filter['format'],
        'title' => $filter['name'],
        'access' => user_access('administer filters'),
        'callback' => 'drupal_get_form',
        'callback arguments' => array('glossary_filter_form', $filter['format']),
        'description' => t('Settings for the !name input format.', array('!name' => $filter['name'])),
        'weight' => 2,
        'type' => MENU_LOCAL_TASK,
        );
      }
    }

and the form had:

function glossary_filter_form($format = 1) {

In D6, I now have:

$result = db_query('SELECT format, name FROM {filter_formats}');
while ($filter = db_fetch_array($result)) {
$enabled = db_result(db_query("SELECT COUNT(delta) FROM {filters} WHERE format=%d AND module='glossary'", $filter['format']));
if ($enabled || !variable_get('glossary_hide_menus', false)) {
$format = $filter['format'];

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x