Theme Editor: Full Control
Application for direct editing of Webasyst theme source code directly from the admin panel — no FTP or file managers required.
Features
- 4 code injection modes: Replace code, insert before found code, insert after found code, full file content replacement.
- File and folder management: Create new files, add existing files, create folders.
- Smart search: Exact match + fuzzy search. Finds code even with differences in spaces, tabs, and line breaks.
- Independent toggles: Each file and each action has its own toggle. You can disable one action without affecting others.
- Master toggle: One switch for the entire application. Turn it off — the whole site instantly reverts to original theme files.
- Built-in file browser: Navigate through Shop, Site, and Blog theme folders with breadcrumbs. Select a file in two clicks.
- Change history: All operations are logged with color indicators. Paginated navigation.
- Action comments: Add an explanation to each replacement.
- JSON export and import: Transfer configurations between sites. Duplicates are skipped during import.
- Yandex Disk backup: Automatic and manual backups, one-click restore.
- Webasyst cache clearing: One-click cache clearing.
- File list search and sorting: Sort by name, date, or status.
Supported file types: .html, .tpl, .css, .js, .xml, .json, .txt, .po, .mo, .svg
Localization
Full interface translation into Russian and English. All messages, tooltips, buttons, notifications, and change history are in both languages. The language is automatically determined by the user's Webasyst settings.
Dark and Light themes
Interface automatically syncs with Webasyst color scheme. Toggle without page reload.
Security
- CSRF protection: Every POST request is signed with a token.
- Backup before changes: A copy of the original is created before the first change. When an action or file is disabled — the original is restored.
- Write permission check: Checked before applying changes.
- File size limit: 10 MB.
- HTML escaping: User input is escaped.
- Authorization: Access only for Webasyst backend users.
Technical details
| Parameter | Value |
|---|---|
| Platform | Webasyst 2.0 |
| Interface languages | Russian, English |
| Themes | Light, Dark (auto-sync with Webasyst) |
| Applications | Shop, Site, Blog |
| Operation types | Replace, Insert before, Insert after, Replace file |
| File structure management | Create / Add files, Create folders |
| Allowed extensions | html, tpl, css, js, xml, json, txt, po, mo, svg |
| Backup storage | Yandex Disk |
| Maximum file size | 10 MB |
| Data storage | JSON in wa-data/protected/thememaster/ |
| Backup path | wa-data/protected/thememaster/backups/ |









