Blog Docs 7 - Admin tools

There are basic blog admin tools available (not copied back from previous version yet) via:

at the bottom of editing any topic page:

* Update Created: ?ajax=created&val=2018-12-25 12:34:56
* Unlock: ?ajax=unlock&val=x (login only)
* Update Meta: ?ajax=ext_url&val=www.
Dept: Blog | Read: 10150 | 2019-02-10   1

Blog Docs 6 - Themes

Default blog will use Topnew MVC and it is using /css/2018.css, 2019.js

However you can overwrite via /blog/blog.css, blog.js

And you can also change view files at: /var/www/app/View/Blog/cat.blade.php, home.blade.php etc

OR you can even make it look totally differen
Dept: Blog | Read: 11123 | 2019-02-02   1

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: 28190 | 2019-01-28

Blog Docs 4 - Admin staff users

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

REPLACE INTO blog_cat(cat,name,info) VALUES
(1001,'blog_staff','{"1":[1,2],"181130":[102,108]}');

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

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

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: 19109 | 2019-01-22   3

  1. 1
  2. 2
  3. 3
  4. »

Category

Top Tags

wiki, bug, test, CMS, feature, MySQL, blog, SIDU, forum, bank, ticket, news, PHP