Hi, is it possible in some way to automatically make a link in a cck link field to transform into a Go link?
What I need is to count each click on the link.
Thanks.
I used the gotwo_get_url($url) function in the theme template.
How do you implement this function in the theme template?
Thank you
http://www.faunapolis.org/
This might be promising for this purpose, I will try it in a near future:
http://drupal.org/project/cck_extras
// remove 'http://' if it's already in the url $item['url'] = str_replace("http://","",$item['url']); // output actual gotwo link echo "<a href=\"".gotwo_get_url('http://'.$item['url'])."\">".$item['title']."</a>";
How about for drupal 7?
Comments
Found it
I used the gotwo_get_url($url) function in the theme template.
Gotwo module
How do you implement this function in the theme template?
Thank you
http://www.faunapolis.org/
CCK extras has Link Redirect
This might be promising for this purpose, I will try it in a near future:
http://drupal.org/project/cck_extras
http://www.faunapolis.org/
I used following code in field-[FIELD-NAME].tpl.php - DRUPAL 5.x
How about for drupal 7?
How about for drupal 7?