Open link in new blank page?
gelusi - April 4, 2006 - 12:59
| Project: | Fancy |
| Version: | 4.6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | gelusi |
| Status: | closed |
Jump to:
Description
What I must modify for open all link's from principal link and secondary link ? .. and rss link ?

#1
What I must modify for open all link's from principal link, secondary link, rss link and ... other link's in a new blank window ?
#2
Its not related to fancy theme. you need to modoify the drupal core for that. however, you can change it for primary, secondary links in the theme itself.
#3
ok
how can I change for primary and secondaru links
#4
back again
I vahe this code:
<td rowspan="2" id="logo"> <?php if ($logo) { ?> <a href="./" title="Home" <b>target="_blank"</b>><img src="<?php print $logo ?>" alt="Home" /></a> <?php } ?></td>
I put in this code target="_blank"
Where can I put the same code in this code:
<td colspan="2" id="prime-top"> <div id="primary-tabs"><?php if (count($primary_links)) : ?>
<ul><?php foreach ($primary_links as $link): ?>
<?php
static $primary_link_id;
$primary_link_id += 1;
?>
<?php $class = ""; ?>
<?php if ( stristr($link, 'active') ) : ?>
<?php $class = 'class="current"'; ?>
<?php endif; ?>
<li <?php print $class?> id="primary-link-<?php print $primary_link_id; ?>" > <?php print $link?> </li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div></td>
I want to open all primary link in new page!
#5
#6