Posted by blecheimer on February 28, 2008 at 5:28pm
Jump to:
| Project: | Alinks |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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
#1
Looks like the patch is defined above?
#2
Is this still relevant?
#3
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
#4
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...
#5
Hello!
use http://drupal.org/project/glossify for extended functionalities & support
It was rewritten by the www.segments.at team.