Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


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

  2. At the top right of the screen, use the Search tool to find 'Store Locator'. NOTE - 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 .  

  7. The Scripts & Styles Widget automatically opens. 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.  (See help on adding layers.)

  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, toggle ON Enable widget on Save, then click Save.

    The CMS will now show you have applied that Script & Style. 



  11. If the Page Preview setting is on, click 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).

...

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

  2. Click on either the Javascript or Style Sheets tab.


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


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


  5. Along with the current version, any earlier ones will be listed. To view an earlier version, click on it.


  6. To compare two versions, in the Compare? column, toggle ON the two versions, then click Compare Version


  7. The two versions are displayed side by side. When finished, click Clear Compare.


  8. To use an earlier version, click on the version, then click the Restore this version button.


  9. To confirm, click Save. The earlier version will be copied and  saved as the latest version.

...


Delete a script or style


Info

Deleting non-system scripts and styles in the CMS is available for versions from 4.17+. Note - you will not be able to delete scripts NOTE - Scripts and styles that are currently being used in on a page or template cannot be deleted. They have to be removed from templates.


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

  2. Depending on whether you want to delete a javascript or style sheet file, click on Click on the Javascript or Style Sheets tab.
    Image Removed
  3. Notice that System files have limited functions to users. For example, the 'theme.css' file allows you to view its contents only and cannot be edited or deleted. User-created files will have both 'Edit' and 'Option' buttons.
    T
    o delete the file, hover over its Options button and click Delete. NOTE - System files have cannot be deleted. 
    Image Added

  4. In the 'Delete widget' box, if you are sure you want to delete this filedelete confirmation popup, click OK otherwise, click Cancel.

Image Removed

Checking


Check where a script or style is currently used

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

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

  3. Find the file name, hover over its Options button, and click Where It's Used.
    Image Added

  4. The templates currently used by the script or style will be shown.
    Image RemovedImage Added

Additional Information

...