Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2010 at 18:13 UTC
Updated:
19 Aug 2010 at 21:20 UTC
I'm trying to add a static list before the breadcrumb function is used in the page.tpl.php:
The $breadcrumb already has a div surrounding it. When I take a look at it in my page source view:
How do I get rid of the 2nd div location? I have looked into the theme-settings.js, theme-settings.php, and template.php.
I just wanted to put in my static html of
Comments
Comment #1
lnspham commentedSorry, it not showing up my raw code
Comment #2
akalata commentedWhen you want to post code, you should enclose the HTML between <code> tags - see the second bullet below the Comment box.
The breadcrumb is created by the zen_breadcrumb theme function. Line 28 of the STARTERKIT template.php acrually uses theme_breadcrumb as an example. Copy that code from Zen's base template.php (lines 31 to 67 or thereabouts), rename to YOURTHEME_breadcrumb, and edit the line that adds the div:
Instead of hardcoding this addition to the breadcrumb, you might want to look into breadcrumb manipulation modules, such as Custom Breadcrumbs. I'm not sure if it will do what you need, but it might be a good starting point.
Comment #3
lnspham commented@ akalata THANKS! I worked!!
I added it in the beginning but I include "rel="nofollow" and I was missing a syntax.