Documentation Index

Fetch the complete documentation index at: https://knowledge.technolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Embedding a Portal

Prev Next

You can embed a Slate portal in your institution's webpages by inserting HTML code that Slate generates. Before you begin, you should be familiar with portals and have a basic understanding of HTML and CSS.

  1. On the Slate navigation bar, select DatabasePortals.

  2. Select the name of the portal to embed.

  3. On the portal summary page, select Embed Portal.

    The portal summary page, showing the Embed Portal option.

     

  4. From the list, select Allow embedding. A text field appears containing the HTML code that embeds the portal on your page.  

    The embedding option list.

     

  5. Select the code in the text field and copy it.

  6. Select Save.

    The Embed Portal popup, with Allow embedding selected, the portal embed code showing, and the Save button highlighted.

  7. Paste the code into the HTML of your page, at the place where the portal should appear. Account for the existing layout and format of the page.

Note

You can't embed a portal in a form or in another portal. Embed portals only on pages that Slate doesn't host, such as your institutional website.

Troubleshooting

If the portal doesn't appear after you paste the embed code into your page, work through the following.

Confirm that embedding is still allowed

Return to the portal summary page and select Embed Portal. Confirm that Allow embedding is still selected, and that the code on your page matches the code Slate generates.

Check whether your web platform accepts the code

The embed code is a script. Some institutional web platforms restrict the scripts that a page may load, and strip or refuse the code when you save the page. If the code disappears after you save, or the platform rejects it, ask whoever administers your website whether the platform permits embedded scripts from an external source.

Test the embed code outside your website

Paste the embed code into an online HTML editor and run it. This separates the portal from your website.

  • If the portal loads there, the embed code and the portal configuration are working. Continue troubleshooting with your website.

  • If the portal doesn't load there either, return to the portal configuration in Slate.

The portal loads but looks wrong

An embedded portal inherits the styles of the page that hosts it. If the layout, fonts, or colors differ from what you see in Slate, compare the CSS on the host page with the styles the portal expects.

Still looking for what you need?