Closed (fixed)
Project:
Omega
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2011 at 20:46 UTC
Updated:
18 Apr 2017 at 09:43 UTC
Jump to comment: Most recent
Comments
Comment #1
tahiticlic commentedhttp://api.drupal.org/api/drupal/includes--theme.inc/function/theme_brea...
See the example for D7
Comment #2
mixhael commentedtnx. Tried that thought, but the breadcrumb remains unaffected.
Put in template.php:
Even when replacing it with, nothing happens...:
Comment #3
mixhael commentedI'm using the breadcrumb block in order to position my breadcrumbs. Maybe that's why?
Comment #4
tahiticlic commentedYes, there's a proper theming function for this block.
Comment #5
mixhael commentedOk tnx, can you give me some directions on that? No clue where to start...
Comment #6
daniel wentsch commentedSeems to be theme_delta_blocks_breadcrumb() in delta/delta_blocks/includes/delta_blocks.theme.inc
You can copy (and rename!) this function to your template.php and override it.
Comment #7
mixhael commentedTried that:
Nothing changes :(
Comment #8
mecielle commentedIt worked for me. This is what I used.
Comment #9
mecielle commentedNow if someone can explain how to add the title attribute to the link, that would be real nice.
Comment #10
mixhael commentedTnx alot! It works :)
Comment #11
tahiticlic commentedComment #12
samwillc commentedGet a parse error with this one :(
Seems there might be one curly bracket short according to notepad++, the first one at the end of:
has no end one.
Sam.
Comment #13
marcoka commentedyou know that "mythemename" must be replaced with the name of your subtheme (just to be sure).
Comment #14
samwillc commentedLol, yeah did that :)
Never did sort this out, used css3 :after instead to add the separator. The code above didn't work for me.
Sam.
Comment #15
himerus commentedThe code above assumed you were using the Delta module's block implementation of the breadcrumb.
Comment #16
samwillc commentedHi himerus,
Yes, I do use it as a block but the above still didn't work. I put the above between the tags correctly and I got a parse error.
I'm no expert but counting the curly brackets, if each of those needs an opening AND closing one, there is one short. There's 6 opening and 5 closing.
Not sure if that's the problem.
Sam.
Comment #17
marcoka commentedi just tested both
screen: http://screensnapr.com/v/40GK4e.jpg
its /user so a core path. the first breadcrumbbar is core the second is delta. I am not sure why the delta block gets the breadcrumb and the core does not. I am only using delta so its not important to me. But that could be related to the issues.
SAMPLE TEST template.php code
Comment #18
marcoka commentedif you want the "Home" link to always appear and add a delimter with delta just use something like:
Comment #19
samwillc commentedThanks e-anima, that's really helpful.
Sam.
Comment #20
kclarkson commentedMy problem is that I the Delta Block separator does not match the core. I would like to have the mini >> separators or event add a custom image. Nothing changes when I add it to the code.
Comment #21
steinmb commentedOld and messy. Housekeeping, closing this. Please create a new issues if you still have question.
Comment #22
fawad ali commentedits work for me