Hello!

I'v found al little solution for prevent the linked page to be linked with alink.

Simply replace the

  <?php print $content ?>

in the node.tpl.php

  <?php
$content = ereg_replace( "<a href=\"".$node_url."\"([^>]*)>([^<]*)(</a>)" , "\\2",$content); 
    print $content ?>

e voila! it disappears.

Comments

aren cambre’s picture

Status: Active » Needs review

Looks like the patch is defined above?

aren cambre’s picture

Version: » 6.x-1.x-dev
Category: task » feature

Is this still relevant?

Anonymous’s picture

The feature is still a good idea, though IIRC I tried the above in the theme I was using at the time without success. Ideally it should be accomodated in the module

blecheimer’s picture

the html code changed, so use this

 $content = ereg_replace( "<a ([^class=\"]*)([^\"]*)([^title=\"]*)([^\"]*) href=\"".$node_url."\"([^>]*)>([^<]*)(</a>)" , "\\2",$content);

but it should be managed by the module itself...

Ivo.Radulovski’s picture

Hello!

use http://drupal.org/project/glossify for extended functionalities & support

It was rewritten by the www.segments.at team.

greg boggs’s picture

Issue summary: View changes
Status: Needs review » Needs work
greg boggs’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs work » Closed (fixed)