Exclude linked page
blecheimer - February 28, 2008 - 17:28
| Project: | Alinks |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
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.

#1
Looks like the patch is defined above?