Blog Home / Blog

Topnew Blog, Forum, Support v 2018 Released

Topnew Blog CMS v 2018.10.10 Released

Topnew Blog CMS is a tiny 10KB size content management system, it has blog, forum, ticket, wiki, photo, video, stack-overflow etc styles, by simply set config $blog['style'] = 'wiki'; etc with the same CMS.
Dept: Blog | Read: 69008 | 2018-10-10   4
Tags: Blog, News, Forum, Wiki, Ticket

Blog Docs 1 - Basic and quick setup

Filesystem: copy these 5 files anywhere on your web eg /blog/ :

/blog/.htaccess -- catch all url to index.php
/blog/index.php -- start of the blog
/blog/blog.css -- customer css if needed
/blog/blog.js -- customer js if needed
/blog/file/ -- folder for attachme
Dept: Blog | Read: 59383 | 2019-01-10   2

Blog Docs 5 - Category

This table holds all category id (cat) and category name (name or url) and category info (displayed as text)

eg name = news-media
if info = '', info will auto displayed as News Media. So if you want to display something else, you need input here.

cat id 1 .. 99 is reserved
Dept: Blog | Read: 27987 | 2019-01-28

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
Dept: Blog | Read: 18919 | 2019-01-22   3

Blog Docs 4 - Admin staff users

Use your existing user table, and only import user_id in to = 1001 eg

REPLACE INTO blog_cat(cat,name,info) VALUES

staff user id is a json of: catetory and user ids, above means:

cat = 1 (all cate
Dept: Blog | Read: 18071 | 2019-01-25   2

  1. 1
  2. 2