Responsive design

Notice: Undefined index: social_google in /home/webroot/www.kusoftas.com/cms/templates_c/demo^7b9c5ab6cf20f7b62a4fced0b8a945dae9af628c_0.file.skin-template-header.tpl.cache.php on line 163

Download

Last stable v 5.2 2024-11-01

    /cfg/chk/skin

    API URL/cfg/chk/skin
    DescriptionCheck CMS skin info RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodPOST
    Request data typeRequest raw data
    Request data
    { id: 'skin-id', // ex. 'christmas' active: '1', // 1 - skin is active, 0 - skin is inactive name: 'skin-name', // ex. 'Christmas' dir: 'path-to-skin-folder', // ex. '/cms/skins/christmas' template_dir: 'path-to-skin-templates-folder', // ex. '/cms/skins/christmas/templates' locale_msg: 'locale-messages-file-name', // ex. 'skin' locale: 'path-to-skin-locale-folder', // ex. '/cms/skins/christmas/locale"' css: [ // css include files list { // css include file id: 'file id', // ex. 'superfish' data: 'file path', // ex. '/cms/srv/lib/superfish-1.7.4/css/superfish.css' } ... ], js: [ // js include files list { id: 'file id', // ex. 'md5' data: 'file path' // ex. '/cms/srv/lib/jshash-2.2/md5-min.js' } ... ], include: { // includes to be included in every page css: [ // css includes ['file id', 'filter token', 'language code'], ... ], js: [ // js includes ['file id', filter token', 'language code'], ... ] } }
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message' // error message data: { // errors in configuration; empty if there are no errors 'error-type': 'error message' ... } }

    Error types:
    • cms-config-skin-folder-edt - skin folder
    • cms-config-skin-template-edt - skin templates folder
    • cms-config-skin-locale-edt - skin locales folder
    • cms-config-skin-css-n - css file path, n - line number in list
    • cms-config-skin-js-n - js file path, n - line number in list