T3Social / NgineS

The Ultimate PHP Social Network Platform
GNU Affero General Public License v3.0
1 stars 0 forks source link

Request: A checkbox in Admin Panel which enables the debugging a.o. in Sngine #101

Closed lisandi closed 3 years ago

lisandi commented 3 years ago

It would be great to have the ability to enable debugging and listing of all used templates in frontend by checking a checkbox in admin panel. Especially for designers it would be very helpful to list all used .tpl files which create a page in frontend via a small indicator (as an overlay) in the frontend of a displayed page.

Currently you need to enter the includes/config.inc file and enable debugging here: Screen Shot 2021-03-01 at 08 04 18

<?php
    define("DB_NAME", 'databasename');
    define("DB_USER", 'databaseuser');
    define("DB_PASSWORD", 'databasepassword');
    define("DB_HOST", 'localhost');
    define("DB_PORT", '3306');
    define("SYS_URL", 'https://yourdomain.tld');
    define("DEBUGGING", true);
    define("DEFAULT_LOCALE", 'en_us');
    define("LICENCE_KEY", 'somelicensekeycanbeinsertedhere');
    ?>

Screen Shot 2021-03-01 at 08 06 30

Wiki

https://github.com/T3Social/T3Social-Community/wiki/How-to-enable-debugging-in-Sngine-and-T3Social