<?php

function greyscale_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return ''.implode('a'.$breadcrumb_delimiter.'a',$breadcrumb).'';
}
}

function phptemplate_preprocess(&$variables) {
$variables['breadcrumb_delimiter'] = '/';
}

why variable $breadcrumb_delimiter 's value is null?

Comments

tsega’s picture

I have the same problem, it looks like nobody is answering, so maybe we can help one another and find the root of the problem,

My theme variables suddenly stopped working when I went hosted my website, I believe it has something do with file permissions, I can't remember completely but I had the same problem on my local machine as well but I just went ahead and gave read, write and execute permissions to all my files in my Drupal installation and it work.

I do not advice you to do this on a staging machine as it has serious security vulnerabilities, but if you are working on your own local machine, try that and tell me what happens.

likefei’s picture

now i think i know some ,thx!