Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited content to reflect current functionality

...

Now we will apply that style sheet to our Store Locator page (or the Page that you have chosen).


  1.  In your CMS, select Content → Pages & Templates

  2. At the top right of the screen, type Store Locator into the “Search for a page/template” prompt box. Your page name may be different.


  3. Click Edit. for the page/template name.

  4. Once in the page, click Add Widget.

  5. In the search field, start typing 'Scripts & Styles' — the system will auto-fill the results.


  6. Select 'Scripts & Styles' and click  to open the Scripts & Styles window.  

  7. In Description, enter a meaningful description for the use of this style. This will display next to the style name when it is in use.

  8. Add a Layer if required.  

  9. From the Scripts & Styles dropdown list, select the style you created and click Add.



  10. Click Edit if you want to make some last minute changes to the Style Sheet, otherwise, to apply the script or style, click Save.

    The CMS will now show you have applied that Script & Style. You can add multiple scripts or styles to the same widget
    .


  11. To see the script or style applied on the page/template, select Publish (top right of the screen).

  12. Go to your site and open the Store Locator page (or the page to which you made changes).

...

Reverting to an earlier version of a script or style

CMS maintains a file history of each user-created script and style. The file history contains information on earlier versions, including the date and time the version was saved and who the user was. If you are not happy with the current version, you can revert to an earlier versionone.

  1. In the CMS, navigate to Advanced Content → Scripts & Styles.

  2. Depending on whether you want to access the file history of a javascript or style sheet file, click on the Javascript or Style Sheets tab.

  3. Click on the Edit button for to the script or style.

  4. Once in In the 'Edit' page, hover on Options and click File History.

  5. Any earlier versions will be listed. Click on the earlier version you wish to revert to.

  6. Click on the Restore this version button.

  7. Click Save. The earlier version will now be copied and  saved as the latest version.

...