Link to an outside page?

Ellie's Avatar

Ellie

15 Jan, 2015 08:22 PM

trying to link to an IDS article on the website

  1. 1 Posted by Joel Trauger on 15 Jan, 2015 09:12 PM

    Joel Trauger's Avatar

    What I have done before I offered the user a simple text box and given a tooltip text of something along the lines of "Please copy and paste web URL in this box. Ensure URL begins with http:// "

    I then took this value with a Velocity format and encased it in HTML like so:

    #set ( $link = $_XPathTool.selectSingleNode( $contentRoot, "/path/to/link" ).value
    <a href="${link}" target="_blank">${linktext}</a>
    
  2. 2 Posted by Ellie Symes on 17 Jan, 2015 06:05 PM

    Ellie Symes's Avatar

    Thank you! Where do I paste the link?

    Ellie

  3. Support Staff 3 Posted by Tim on 19 Jan, 2015 09:13 PM

    Tim's Avatar

    Hi Ellie,

    Please see our documentation here for inserting a link and let us know if you have further questions.

    Thanks

  4. Tim closed this discussion on 20 Apr, 2015 12:19 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac