Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Kjell Iver Johansen Posted March 6, 2018 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..
Daniel F Posted March 6, 2018 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
Kjell Iver Johansen Posted March 6, 2018 Author 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>
opentype Posted March 6, 2018 Posted March 6, 2018 that’s not a correct “target” (window reference) though. https://www.w3schools.com/tags/att_a_target.asp
Kjell Iver Johansen Posted March 6, 2018 Author 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>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.