Developer Tools (module jrDeveloper) helps you work on a site's code: templates, skins and modules. It comes with Jamroom.
ACP > Modules > Developer > Developer Tools
Turn on Run in Developer Mode in Global Config while you edit templates or code:
Developer mode makes every page slower. Turn it off on a live site when you're done.
Also in General Settings:
| Setting | What it does |
|---|---|
| Skip Javascript Compression | Loads each module's JavaScript as its own file instead of one combined file, which helps when using a debugger |
| Template Name in Source | Adds HTML comments marking where each template starts and ends, so you can find which .tpl file made a piece of the page |
| Verify Language Strings | Logs language strings that differ from their default to Tools > Language Log |
| Tool | What it does |
|---|---|
| Database Admin | Browses and edits the database tables (Adminer). Changes are immediate, so be careful. |
| Memory Cache Admin | Shows the memory cache statistics |
| Clone Skin | Copies a skin to a new name, so you can change your copy and keep receiving updates for the original. See Creating your own Skin. |
| Package Module, Package Skin | Makes a ZIP of a module or skin for the Marketplace. They appear once you set a Developer Prefix. See How to package a module. |
| Database Query Counts | How often each query runs and how long it takes. Needs Track Query Counts. |
| Language Log | Possible language string problems found in templates. Needs Verify Language Strings. |
Enable Reset Tools adds four more, meant for development sites only:
| Tool | What it does |
|---|---|
| Rebase Modules, Rebase Skins | Moves Marketplace modules or skins back to their main folder and removes the version links |
| Reset Categories | Puts every module back in its default ACP category |
| Reset System | Deletes all items, users and profiles except your own account and profile, like a fresh install |
Reset System can't be undone. Never turn on the reset tools on a live site.
| Setting | What it does |
|---|---|
| Slow Query Log | Logs database queries that take longer than this to the Activity Log (default: disabled) |
| Track Query Counts | Counts each SELECT query and where it was run, for Database Query Counts |
| Log Database Queries | Writes all queries to data/logs/sql_query_log |
| Describe Queries | Runs each SELECT a second time with DESCRIBE and logs the query plan. Never on a live site. |
| Setting | What it does |
|---|---|
| Developer Name | Your developer name as registered on jamroom.net, used in module and skin licenses |
| Developer Prefix | Your registered prefix. Every module and skin you make starts with it, as jr does for The Jamroom Network. |
| Enable Reset Tools | Shows the reset tools above (default: off) |