I have a directory index applied on my server to my zc install (was using a redirect but not good with the search engines).
Now my link to Home goes to my installed directory and that directory displays a listing and not the index.php! Help! How do I change the link to "Home" in breadcrumb.php to a hard link? http://mysite/zendirectory/index.php
Code:
// this line simply sets the "Home" link to be the domain/url, not main_page=index?blahblah:
if ($this->_trail[$i]['title'] == HEADER_TITLE_CATALOG) {
$trail_string .= ' <a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . $this->_trail[$i]['title'] . '</a>';
} else {
$trail_string .= ' <a href="' . $this->_trail[$i]['link'] . '">' . $this->_trail[$i]['title'] . '</a>';
}
} else {
$trail_string .= $this->_trail[$i]['title'];
}
if (($i+1) < $n) $trail_string .= $separator;
$trail_string .= "\n";
}
return $trail_string;
}
function last() {
$trail_size = sizeof($this->_trail);
return $this->_trail[$trail_size-1]['title'];
}
}
Bookmarks