Closed (fixed)
Project:
Link
Version:
5.x-2.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2008 at 03:12 UTC
Updated:
27 Jun 2012 at 17:28 UTC
if the link is mydomain.com/this/isthe/links_myblogs/1239
how can I only display mydomain.com
thank you?
Comments
Comment #1
quicksketchThere aren't any built-in options for doing this in link.module. You'll need to theme your output in a .tpl.php file such as node-link.tpl.php (if "link" is the name of your content type). You could also achieve the same thing by using contemplate module.
Comment #2
quicksketchClosing after 2 weeks with no activity.
Comment #3
radimklaskaThis can help:
http://php.net/manual/en/function.parse-url.php
#472766: Display Domain Name Only