Hi

I am trying to modify the look of my Drupal installation. I am using various themes (bluemarine, danger4k, fancy, and pushbutton). On the front page regardless of which theme I am using there is no breadcrumb trail, however when I click into a post one appears. In every other module there is a breadcrumb even if it just displays 'Home'. How do I put one on my front page so I can have consistency to the site?

Also the Poll module shows Home>>Briefs instead of Home>>Polls (Briefs is the name of my stories as the site is to be used as an intranet) and I would like to be able to rectify it for accuracy.

Any help in solving this would be much appreciated.
Thanks
TJ

Comments

sdecabooter’s picture

Why would you want a link to Home on the frontpage, when you're already there?
If you want it, you could use the drupal_set_breadcrumb() function (see http://api.drupal.org) in your page.tpl.php like this:

if(drupal_is_front_page()){
  drupal_set_breadcrumb(array(l(t('Home'), NULL)));
}
teejayuu’s picture

Hi svendecabooter - as I said, I am looking for consistency across the pages. The front page just shows the posts, yet if I change to a differnt module everything 'drops down' to show the breadcrub trail. I'm not really bothered whether it actually does anything or not. The code above did not seem to work, so I've just used a print statement to show the word 'Home'.
Thanks for responding tho.
Cheers
TJ