Hi All,
I just installed the breadcrumb module and am having some trouble with it. I don't know PHP but it seems fairly straightforward. My theme has been modified using bluemarine as a base.
Anyway, I decided to wrap the breadcrumb code into the back-end of an IF statement to make sure it doesnt display on the homepage:
if ($_GET["q"] == variable_get("site_frontpage", "node"))
variable_get("bluemarine_message", l("edit message", "admin/system/themes/bluemarine"));
else { print make_breadcrumb($_REQUEST["q"]) ."";
The code does in fact display a breadcrumb. However, it also throw a SQL error above it
user error: You have an error in your SQL syntax near '} WHERE path = 'compose_tips'' at line 1
query: SELECT title FROM {node} WHERE path = 'compose_tips' in C:\Path\To\wwwroot\includes\database.mysql.inc on line 75.
This happens on every sub page in the site. Any ideas?
thanks!