Breadcrumb link spacing

zooki - December 13, 2008 - 18:21
Project:AD The Morning After
Version:6.x-1.5
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

There seems to be problems with the link text,

for example the header bit, where it says

// Home » Administer » Site building

It displays like:

// HomeArticle title here

so, it seems the link isnt formed properly and renders use of the theme out of the question

#1

zooki - December 13, 2008 - 19:26
Title:Link Text in Header Does not Appear correct» Fixed

This slight code change seemed to do the trick in page.tpl

<div id="header-image">
      <?php
      $breadcrumb2
= str_replace(' › ', ' // ', $breadcrumb);
     
$breadcrumb3 = str_replace('<div class="breadcrumb">', ' ', $breadcrumb2);
      if (
$is_front) {print '<div class="breadcrumb">// ' . t('Home') . '</div>';} else { echo '<div class="breadcrumb">// ' . str_replace('</div>', ' » ', $breadcrumb3) . $title . '</div>' ;} ?>

    </div>

I added » which makes >>

#2

fluidicmethod - June 13, 2009 - 21:51
Title:Fixed» Breadcrumb link spacing
Status:postponed (maintainer needs more info)» closed

Closed, its easy just fix the php as noted above

 
 

Drupal is a registered trademark of Dries Buytaert.