• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

MG 1.1 Custom field

#1
Hi there,
I am using custom field to show URL on media page. I don't want to show full URL but make it as clickable VISIT SITE. what Value Display HTML should I use? I have selected Value Match Requirements: URL
Thanks in advance
 

Chris D

XenForo developer
Staff member
#2
It's actually not possible to do that, unfortunately. If a URL is entered then it is auto linked and it creates the link automatically.
 

Chris D

XenForo developer
Staff member
#4
Unfortunately not. The only solution I can think of is editing the code but that's not ideal.

The file to edit would be:

library/XenGallery/Template/Helper/Core.php and find:
PHP:
$value = XenForo_Template_Helper_Core::callHelper('bodytext', array($value));
Replace with:
PHP:
//$value = XenForo_Template_Helper_Core::callHelper('bodytext', array($value));