External Link In New Tab

Matthew Roy's Avatar

Matthew Roy

12 Jan, 2015 08:33 PM

Hi there,

I am currently trying to set-up an external link to a new tab but cannot figure out how to go about this. The only temporary solution I have is to manually go into the html of the external link and edit the <a> tag to include a "target='_blank'" attribute.

My steps in creating a link are as follows:
New >> Default >> External Link

From this, I see no options to add a new tab/window function to the link.
Thanks in advance for your help,

Matthew Roy
ECS Web Designer
California State University, Sacramento
[email blocked]

  1. 1 Posted by Ryan Griffith on 12 Jan, 2015 08:55 PM

    Ryan Griffith's Avatar

    Hi Matthew,

    When working with External Links (ie Symlinks), there is no means of telling Cascade Server how to open the link, so it will always be the same window.

    Depending on how you are using the link, you can incorporate ways to add the additional target attribute.

    If you are selecting the External Link when adding a link within a WYSIWYG field, you would simply use the Target field when inserting the link to designate its target.

    If you are using a Format to generate a list of links, such as a navigation, your Format would determine how External Links should be handled when you generate the HTML markup.

    Additionally, you could add a Dynamic Metadata Field to External Links that would allow users to be able to determine whether the link should open in a new window or not. Your Format would use this field when generating the markup.

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by Matthew Roy on 12 Jan, 2015 09:01 PM

    Matthew Roy's Avatar

    Hi Ryan,

    I think I got it figured out now, thanks.
    Much appreciated.

    Matthew Roy
    ECS Web Designer
    California State University, Sacramento
    [email blocked]

  3. 3 Posted by Ryan Griffith on 12 Jan, 2015 09:45 PM

    Ryan Griffith's Avatar

    Not a problem at all, Matthew, thank you for following up. I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  4. Ryan Griffith closed this discussion on 12 Jan, 2015 09:45 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