Loading...

SilverStripe

This page provides the requirements for Optimize CMS integration to work with SilverStripe. 

Requirements

Deeplinking SilverStripe requires a Page containing either an HTML element with <body data-page-id=" "> or a javascript element with a /admin/ url pointing to the same content on the admin section.

If none is found, then a default URL will be created with the path of the current page.

Example 1:

<script>
    function doc_keyUp(e) {
        if(e.altKey && e.keyCode == 69) {
            window.open("https://domain.tld/admin/pages/edit/show/420");
        }
    }
</script>

Example 2:

<body data-page-id="420">

Generated URL

If ID is found:

http(s)://domain.tld/admin/pages/edit/show/#{id}

If none is found then:

http(s)://domain.tld/admin/edit/page/show/#{page_path}

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation