• Document Up to Date

Site Administrators

This section details activities related to site administration in CrafterCMS. The content is oriented towards CrafterCMS administration primarily through the Crafter Studio UI.

Most configuration files can be accessed through Crafter Studio through the Sidebar -> |siteConfig| -> Configuration. but can also be modified by accessing the files directly. Please note that it is recommended that changes to configuration files be done through the Crafter Studio UI.

For the site repository, the site structure looks like this:

{REPOSITORY_ROOT}/sites/SITENAME/sandbox/
    config
        engine
        studio
            administration
            content-types
            context-nav
            data-sources
            dependency
            environment
            form-control-config
            preview-tools
            targeting
            workflow
    scripts
        classes
        components
        pages
        rest
    site
        components
        taxonomy
        website
    static-assets
        css
        fonts
        images
        js
    templates
        system
        web

Here are the topics covered in this section:


Note

Scripts and Templates Security

Crafter Engine limits access to services when developing templates or scripts, and sandboxes scripts for security by default.

Crafter Engine only allows a small list of services available to use when developing templates or scripts. There are some sites that may require services not included by default.

To expose other services, follow the guide Access to Services

Scripts are executed in a sandbox that has a blacklist of insecure expressions to prevent code that could compromise the system. There are some cases though where a site requires access to one or more of the blacklisted expressions.

To override the default script sandbox configuration, follow the guide Script Sandbox Configuration