1. Read
  2. Vote
  3. Old
  4. New
  5. Hot
  6. Reply

Blog Docs 3 - Advanced Setup

Please read topnew/src/Blog/config.ini, config.en.ini etc
Do not change directly on above ini file, instead, you can add at /blog/index.php $init settings eg:

The docs at the config.ini etc should be self explained and easy to understand.

$init = [
// other config init info ...
'att_kb' = 800, // attachment max file size in kb
'markdown' = 1, // use php markdown to render html for topic msg text
// ...
];
Cat: Blog | Read: 23360 | 22/01/2019 | Like: 3

Wiki: Topnew DB Docs

Wiki: Howto use Topnew\Db\Db v 2025.01.01

Topnew\DB\Db is a lightweight PHP wrapper around PDO that simplifies database queries.

pre{font-family:'Droid Sans Mono',monospace;font-size:.8em;background:#eee;padding:10px}b,.b{font-weight:700}

1 -
Cat: CMS | Read: 13843 | 10/03/2026 | Like: 10

Wiki: Topnew Form Helper

Wiki: Topnew\Util\Form v 2026.04.04

Topnew Form is a view helper class used to generate HTML form elements programmatically.

pre{font-family:'Droid Sans Mono',monospace;font-size:.8em;background:#eee;padding:10px}b,.b{font-weight:700}


Sample Usage:
Cat: CMS | Read: 67190 | 01/03/2026 | Like: 5
Tags: CMS , Wiki

Topnew CMS - User Database

Today we are going to make a user system, which will be used for login, user management, role permission, page access control etc.

1 - team

CREATE TABLE team (
id int NOT NULL AUTO_INCREMENT PRIMARY KEY,
id_up int NOT NULL DEFAULT 0, -- parent team id
name varch
Cat: CMS | Read: 1208 | 05/06/2022

Topnew CSS v 2023 JS related

6 - Javascript related

There are a list of CSS class binded with jQuery

6.1 span of any width / height

class=span data-w=300px

class=span data-w=30% data-h=100px
Cat: CMS | Read: 1616 | 16/04/2022
Tags: CSS
  1. 1
  2. 2
  3. 3
  4. 4
  5. »

Category