Closed (fixed)
Project:
Leech
Version:
5.x-1.x-dev
Component:
leech
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2007 at 17:26 UTC
Updated:
13 Feb 2007 at 18:04 UTC
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
Comment #1
alex_b commentedYou 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.
Comment #2
geograt commentedthanks 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 (!$status) { print " node-unpublished"; }">if ($page == 0):print $node_url " title="
print $title">print $title;else :print $title;endif;if ($submitted):print $submittedprint $termsendif;print $contentif ($links) {print $links};Can you advise my what more eficiente and secure changes to do.
Thanks again for your help.