XF 2.3 Creating a template modification

Anatoliy

Well-known member
The "Let's build an add-on" tutorial says
We'll do this by creating a template modification. This is done from the Admin CP under Appearance and then click Template modifications. Click the "Admin" tab followed by the "Add template modification" button.
I don't have the "Admin" tab and the "Add template modification" button.

Снимок экрана 2024-08-06 в 12.11.04.webp

Help please.
 
I already created an add-on.

Снимок экрана 2024-08-06 в 12.14.27.webp

During the creation I answered "No" to "Does your add-on need a Setup file?" as I thought that I don't need it as I'm not going to touch tables.
Can it be somehow because of that?
 
Did you enable developement mode?
src/config.php
PHP:
$config['development']['enabled'] = true;
I have
Code:
$config['debug'] = true;
and as I understood it automatically enables dev mode.

hah! but after adding
Code:
$config['development']['enabled'] = true;
I see Admin tab and Add template modification button.
Thanks!
 
Back
Top Bottom