Documentation Center

Upgrading VBScript JScript template code

Only if you are upgrading SiteEdit implemented in VBScript/JScript templating code, add a bootstrap command to the output of your old SiteEdit Page Templates.

Procedure

  1. Open each of your VBScript/JScript Page Templates in which SiteEdit is enabled.
  2. In each Page Template, add the following statement at the bottom of the output:
    <script type="text/javascript" language="javascript" defer="defer"
    src="http://<cme-hostname>/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js"
    id="tridion.siteedit"></script>

    where <cme-hostname> is the host name of the Content Manager Explorer Web site.

  3. Check if your Page Templates sets a value for ComponentContext and/or for PageContext in the BluePrinting section of the SiteEdit Settings SiteEdit command. If such values are specified, note them down.
  4. Save and republish the Page Templates you modified.