Is there a way to hide or change the looks of the "Trackback URL for this post:" heading? It looks very ugly, esp. at the bottom of shorter pages.

Comments

vacilando’s picture

Title: How to hide the ugly title » How to hide the ugly large title in nodes

Further to this -- I have located the title "Trackback URL for this post:" in function theme_trackback_url.

I've commented out the only line in it
return '<div id="trackback-url">'. theme('box', t('Trackback URL for this post:'), $url) .'</div>';
and replaced it by
return '';

As a consequence, my pages now do not show the huge trackback title nor the link, but I assume that since the RDF field is intact, the automatic trackbacking will still work. Look at the source of http://quidne.vacilando.org/ - you will see that there still is the trackback code

<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description rdf:about="http://quidne.vacilando.org/home" dc:identifier="http://quidne.vacilando.org/home" dc:title="Home" trackback:ping="http://quidne.vacilando.org/trackback/1" />
</rdf:RDF>
-->

Is this assumption correct?
If so, why not build in a checkbox that would allow switching off display of the title and/or the trackback link but still allow trackbacking for the given content type?

lomz’s picture

Will this be function be added?

tobias’s picture

I'm curious about this also. Is it necessary to list the trackback on blog posts for the trackbacking to work? if so, we can of course make it less prominent using CSS.

Cheers,

Tobias

jfall’s picture

Perhaps I'm off base here (b/c I don't use TrackBack), but...
Could you not simply add display:hidden for #trackback-url in your style sheet?
Just an idea.

darnbox’s picture

I fixed it CSS with this code:

/*trackback styles*/
#trackback-url .box h2 {
	font-family: "Lucida Grande","Lucida Sans Unicode", helvetica, verdana, arial, sans-serif;
	font-size:0.8em;
	font-weight:normal;
	letter-spacing:normal;
}
#trackback-url .content {
	font-size:0.75em;
}

I'm using the marinelli theme, you can see the results here: Media Politica. To use it on your site you'd need to update the font family to match the theme you're using, and you may have to tweak the font sizes a bit.

I'd still like to see some kind of formatting control in the actual module, because this only fixes this one theme. Also, the spacing (margin between it and the content) seems too tight, but that would probably mean more messing with the theme to fix it.

Thanks.

JamesWA’s picture

I'm looking to change the H2 tag for the text: Trackback URL for this post.
Anybody know how I may go about doing this?

Thank you,

J

thepanz’s picture

I added the feature you asked for in my patch for this issue: #297487: improvements for trackback node display
My post is here: http://drupal.org/node/297487#comment-1073709

lomz’s picture

Status: Active » Fixed
thepanz’s picture

Version: 5.x-1.2 » 6.x-1.x-dev
Status: Fixed » Needs review

Please review the *huge* patch here: http://drupal.org/node/297487#comment-1073709

wretched sinner - saved by grace’s picture

Priority: Critical » Normal
Status: Needs review » Closed (duplicate)

@thePanz - if the code is in another issue queue, then that one needs to be marked CNR, not this one.

Marked as duplicate of #297487: improvements for trackback node display, being the location of said patch.