Is there a way to put a unique class or id around the print, pdf and email links so that they stop having ul.links.inline around them? On a blog site I'm working on, the "add comment" "delete post" "xperson's blog" and "post to twitter" links all run inline with the printer links. I wanted to make the printer links break to another line but that has proven to be really hard because all these little inline links all have the same wrapper tag. A way to remedy that would be to put a different wrapper tag around all the print links... How would I go about editing your module to get it to do this?

Becky

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Yes,

You can specify your own class for each of those links, in the settings page of the module. Notice that it won't stop Drupal and your theme to place their own wrapper classes.

João

beckyjohnson’s picture

Ahhh...that's too bad. Thanks for your response though. It's going to be tougher to css than I thought.

Becky

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info in two weeks closing the issue.

keith_k’s picture

This is probably not encouraged, but you can just add extra DIV tags in sites/all/modules/print/print.tpl.php

esllou’s picture

or just add your own print, pdf, etc links in your tpl theme files. That's what I do. Don't rely on the $links.

so, a print link would look like this:

<a rel="nofollow" href="/print/<?php print $node->nid ?>"><img src="/images/printer.png" title="print" alt="print" border="0"></a>
beckyjohnson’s picture

Oh thanks! I'll give that a shot.

becky