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
Description

What I must modify for open all link's from principal link and secondary link ? .. and rss link ?

#1

gelusi - April 4, 2006 - 13:00

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

sangamreddi - April 5, 2006 - 12:12

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

gelusi - April 6, 2006 - 07:15

ok
how can I change for primary and secondaru links

#4

gelusi - April 6, 2006 - 11:40

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 $lo
go ?>
" 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

sangamreddi - June 28, 2006 - 16:50
Status:active» fixed

#6

Anonymous - July 12, 2006 - 17:00
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.