Attach Hyperlinks to Text and Images in Design Mode

When viewing a page in Design Mode, designers and site administrators can create hyperlinks to external Web pages or websites, pages and assets in the site, email messages, and anchors on the page.

Required Editions

Available in: Salesforce Classic

Available for purchase in: Enterprise, Performance, and Unlimited Editions

Available (with limitations) in: Developer Edition

User Permissions Needed
To build, edit, and manage Site.com sites:

Site.com Publisher User field enabled on the user detail page

AND

Site administrator or designer role assigned at the site level

When the page is open:

  1. Double-click the content block on the page.
  2. Select the text or image that you want to attach a hyperlink to and click Add or edit links.
  3. Select the link type in the Link to dropdown list. To link to:
    • A Web page:
      1. Select A URL.
      2. Type the address in the URL field—for example, http://www.externalsite.com.
      3. Go to step 4.
    • A page or item in your site:
      1. Select An item in your site.
      2. Select the item type, such as a page or image.
      3. Select the item. (If you can’t see the list of items, place your cursor in the URL field and press the DOWN key on your keyboard.)
      4. Go to step 4.
    • An anchor that you previously added to the page:
      1. Select An anchor on the page.
      2. Select the anchor in the dropdown list. Alternatively, enter a new anchor name and create the anchor afterwards.
      3. Go to step 5.
    • An email message:
      1. Select An email.
      2. Enter the recipient's email address and the message information.
      3. Go to step 5.
    Note
    Note For content blocks in a data repeater, you can use expressions to add a custom link, such as a URL query string, to an item in your site or to a Web page.
  4. To select which window the item opens in, select an option in the Target dropdown list:
    • Popup window loads the item into a window. When you select this option, you can set the title for the popup and control its appearance and size with the options that appear.
    • New window (_blank) loads the item into a new, unnamed browser window.
    • Same window (_self) loads the item into the same frame or window as the link. This setting is the default.
    • Topmost window (_top) loads the item into the topmost parent frameset or window of the frame that contains the link.
    • Parent window (_parent) loads the item into the parent frameset or window of the frame that contains the link.
  5. Optionally, enter a tooltip description for the link. The tooltip displays as a pop-up when the user hovers over the link.
  6. Click Apply.
  7. Click Save.

To delete a hyperlink, select it and click Delete link.