Backstage Bookmarklet

A bookmark usually takes you to a new page. A bookmarklet is a bookmark that runs javascript on the current page.

When clicking on "Backstage" bookmarklet, it will open the backoffice corresponding to the current page (production, custom dev environment, etc..) in the current language.

For example, if you are on the "Contact page" on the French version of the website, when clicking on the "Backstage" bookmarklet, it will open the backoffice to edit the "Contact page", with French language selected

How to install it?

Make a new bookmark in your browser

  • For the "Name" you might put "Backstage" (or something else that you remember).

  • Copy the code block, paste this into the "URL" of a new bookmark.

javascript:void function(){!function(){if(window.websiteID%26%26window.cms%26%26window.galaxyInfo.backstage){const b=window.galaxyInfo.traduction_id,c=window.galaxyInfo.backstage;let d=`/website/${window.websiteID}/page/view/${window.cms}`;b%26%26(d+=`%3Fcurrent_lang=${b}`),window.open(c+d,"_blank")}else alert("Not a Galaxy Website")}()}();

We are preparing a Chrome extension covering this and additional features, that will make updates easier.

Last updated