I got help from Victor Kane which made a Module for me and now the links is functioning but now the problem is that the OLD info is not deleted. Can someone help about what to do, please?
copenhagen_utilities.module
<?php
// $Id$
/**
*
@file
* Utilities for the Copenhagen site
*/
/*
*
Implement hook_nodeapi
*/
function
copenhagen_utilities_nodeapi(&$node, $op, $arg = 0) {
switch ($op)
{
case 'rss item':
$the_map_links = '<a href="' . $node->field_copenhagen_map[0][display_url]
. $node->nid . '"><b>See the toilet on Copenhagen
Map</a></b>
<br><a href="' .
$node->field_copenhagen_map_radius[0][display_url] . $node->nid .
'"><b>See the toilet on Google Map width
Radius</a></b>';
// add the map
links to both body and teaser to cover both RSS feed
configurations
$node->teaser .=
$the_map_links;
$node->body .=
$the_map_links;
break;
}
}In the table content_type_copenhagen I have this informations if that helps you.
field_copenhagen_map_url
Copenhagen_map?nid=
field_copenhagen_map_title
Copenhagen
map
field_copenhagen_map_radius_url
Copenhagen_map_radius?nid=
field_copenhagen_map_radius_title
Copenhagen
map/radius/Tine