Closed (won't fix)
Project:
Marinelli
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2008 at 09:32 UTC
Updated:
17 Jul 2016 at 01:30 UTC
Jump to comment: Most recent
Comments
Comment #1
retorq commentedYou have to edit it out of the template.php file here's my code:
Comment #2
fergrorke commentedThanks for the tip.
Comment #3
mentus commentedExcellent, it worked. Thank You
Comment #4
preyer commentedIf you just want to remove the "YOU ARE HERE BOX" edit the template.php function as follows:
notice the line
return '<div class="path"><p>'. implode(' / ', $breadcrumb) .'</p></div>';has been modifiedComment #5
LejfM commentedI want to remove the the whole string with "edit" "translate" and "you are here"... when I folow the instruction i #1 I get a failur in the page.tmp , do I have to remove any thing inside there too .
Comment #6
centralh2o commentedI'm not sure if this helps or not. I'm pretty new to editing this type of code, but when I used the version in #1 it caused an error. This is what I did to fix it:
All I changed is I took out the "You are here" from this line:
and took the */ out of the second to last line. I found that the original Marinelli template.php code that I downloaded didn't have the */ and adding that broke it. So really all I changed from the original code was I took out the "You are here" so it doesn't show.
Sorry, don't know how to get rid of the "edit" or "translate".
Also, does anyone know how to make it so the breadcrumb doesn't show the title either? I tried deleting the whole breadcrumb code, and it made a mess. Any ideas?
Comment #7
d3c0 commentedThanks for the replies!
Comment #8
isthisthingon commentedThe instructions in #1 worked like a charm. Thanks for that very simple fix. I am a drupal/php idiot, you made it simple for me. Thanks again!
Mike
Comment #9
pam.pkrweb@gmail.com commentedHow does this work with subtheme? I created a subtheme and like to remove this also. However, when I copy template.php to may subtheme is does not like it. What I am missing? Do I need to rename function or just create new a template. php for my theme and override the function?
Also, thanks for this theme. I am newbie and just been playing with if for a couple hours and was able to do all I have been trying to do with other themes for several days. It been so much easier to customize. Thanks
Pam
Comment #10
d3c0 commentedI wanted the old breadcrumbs back, so I removed all the code in the template.php file referring to the breadcrumbs.
Then in the page.tpl.php, the line says
print $breadcrumbs;. Because the theme isn't modifying the breadcrumbs at all, it inherits the Drupal default (which is what I wanted).Cheers
Comment #11
Anonymous (not verified) commentedI'm sorry, but this is all too confusing. I just want "regular" plain old breadcrumbs, like "Home > Etc." I'm not sure --from reading this -- what I should edit. I looked in page.tpl.php and could find no
Could someone please walk me through--step-by-step--what to change in template.php and page.tpl.php so that I can have regular breadcrumbs. It seems that it should be one chage in template.php and one chage in page.tpl.php
Thank you so much. And sorry if I'm being thick, I do have a bit of a cold.
Comment #12
Anonymous (not verified) commentedWhen I remove the "breadcrumb" info from template.php I get an error.
I just need plain old breadcrumbs in one of the subthemes.
Comment #13
HS commentedDepending on the version of the theme you're using, you can just remove line 94 from page.tpl.php
Just remove:
<?php print $breadcrumb; ?>Comment #14
Anonymous (not verified) commentedGet this erro when I delete out breadcumb function from template.php:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_breadcrumb' was given in /var/www/vhosts/flagship/includes/theme.inc on line 656.Comment #15
Anonymous (not verified) commentedI changed theme to Garland and then changed back to Marinelli and issue was resolved.
Comment #16
Gus commentedAn easy way is to edit layout.css. Find;
.path p span { /* you are here text */
padding:5px;
margin-right:10px;
}
and change to;
.path p span { /* you are here text */
padding:5px;
margin-right:10px;
display: none;
}
Comment #17
ShannonK commentedThank you. #16 worked for me! (BTW, for newbies, the layout.css file is in your themes/marinelli/ folder).
Thanks Gus!
Comment #18
kdhavens commentedPerfect fix! Thanks!
Comment #20
mstobbs commentedHere's the Drupal 7 version of comment #16. I add this override to a custom.css file so I don't have to worry about updates to layout.css.
/* Hide you are here text in breadcrumb */
section#breadcrumb h2 {
display: none;
}
Comment #21
oadaeh commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.