Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Yesterday at 01:29 PM
Kjell Iver Johansen Posted March 6, 2018 Share Posted March 6, 2018 I have a profilefield with an URL setup like this Now - it is not possible to click the link to get to the blog - how do I achieve that? Is is just displayed as text.. Link to comment Share on other sites More sharing options...
opentype Posted March 6, 2018 Share Posted March 6, 2018 <a href="{content}" target="_blank">{title}</a> Link to comment Share on other sites More sharing options...
Daniel F Posted March 6, 2018 Share Posted March 6, 2018 You could replace {$content} with <a href="{$content}">{$content}</a> or just use <a href="{$content}">{$title}</a> for the output, which would remove min blogg: and just add the link with Min blogg as link text Link to comment Share on other sites More sharing options...
Kjell Iver Johansen Posted March 6, 2018 Author Share Posted March 6, 2018 Thanks both of you! I ended up with code like this <strong><a href="{content}" target="Min blogg">{title}</a></strong> Link to comment Share on other sites More sharing options...
opentype Posted March 6, 2018 Share Posted March 6, 2018 that’s not a correct “target” (window reference) though. https://www.w3schools.com/tags/att_a_target.asp Link to comment Share on other sites More sharing options...
Kjell Iver Johansen Posted March 6, 2018 Author Share Posted March 6, 2018 12 minutes ago, opentype said: that’s not a correct “target” (window reference) though. https://www.w3schools.com/tags/att_a_target.asp I changed it and finally it is OK - thanks again <strong><a href="{content}" target="_blank">{title}</a></strong> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.