I am interested in making this links open in a new window browser:
- visite the site of the feed link
- Origin of the feed link
- Links they came with the body feed
I think the ideal is to make this links open in the same new browser but i am confused about witch procedure i need to do. In the case of aggregator we have tow ways to do it:
1.- http://drupal.org/node/31598#comment-196116
2.- http://drupal.org/node/31598#comment-198374
Maybe the thinks are diferent in Leech and i don't want to make changes to leech module before consulting with the Leech experts.
Thanks for your advises.

Comments

alex_b’s picture

Status: Active » Closed (fixed)

You can do this on the theming layer. If your leech items are of type story, create a copy of node.tpl.php called node_story.tpl.php and do all the desired adaptions in there.

geograt’s picture

thanks alex_b for your reply. I am not using leech in story content but like new content difined as "leech news". In this case i guess the work to do is renaming node.tpl.php to leech news.tpl.php and change the a href="' to a target=\"_blank\" href="'
but i think the changes maybe afect others funcciones. I am using fancy theme and my node.tpl.php look like this:

if ($sticky) { print " sticky"; } if (!$status) { print " node-unpublished"; } ">
 if ($picture) {
      print $picture;
    }

if ($page == 0):
print $node_url " title=" print $title "> print $title;
else : print $title; endif;

if ($submitted):
print $submitted
print $terms endif;

print $content

if ($links) {

};

Can you advise my what more eficiente and secure changes to do.
Thanks again for your help.