Hi,
i created a very simple "addon" through xenforo UI to modify a template. After i moved this addon to a new forum and installed it there - it does not work (The Modifikation is not listed at "Template Modifiacations" on Dev-Mod.
The addon.js:
The only Folders:
/_output/template_modifications/public
Src JS.json:
since creation of this addon and installation on the new forum there was a version update from 2.2.6 to 2.2.7
Do i have to change something to have loaded the modification?
i created a very simple "addon" through xenforo UI to modify a template. After i moved this addon to a new forum and installed it there - it does not work (The Modifikation is not listed at "Template Modifiacations" on Dev-Mod.
The addon.js:
{
"legacy_addon_id": "",
"title": "Template x",
"description": "Insert Script",
"version_id": 1000,
"version_string": "1.0",
"dev": "Mrx",
"dev_url": "",
"faq_url": "",
"support_url": "",
"extra_urls": [],
"require": [],
"icon": "logo.png"
}
The only Folders:
/_output/template_modifications/public
Src JS.json:
one level up there is a _metadata.json with the hash to JS.json{
"template": "PAGE_CONTAINER",
"description": "Do something.",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "</footer>",
"replace": "$0\n<script> <!-- JS -->xxxxx\>
}
since creation of this addon and installation on the new forum there was a version update from 2.2.6 to 2.2.7
Do i have to change something to have loaded the modification?