indicator Member May 31, 2016 #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
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 May 31, 2016 #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. Upvote 0 Downvote
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.
indicator Member May 31, 2016 #3 Hi Chris, thanks for your quick response, is there any other way of achieving this? cheer! Upvote 0 Downvote
Chris D XenForo developer Staff member Jun 1, 2016 #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)); Upvote 0 Downvote
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));