Wiki: Howto use Topnew\Db v 2019.10.10
Topnew DB is a PHP class to use PDO database library easily.
7 - $db->where()
where() and having() have exactly same behaviour, will accept multiple calls.
->where('raw SQL')
->where('id', 1
Dept:
CMS | Read: 735 | 2019-10-11
Wiki: Howto use Topnew\Db v 2019.10.10
Topnew DB is a PHP class to use PDO database library easily.
1 - Quick start
Save Topnew\Db file into somewhere eg:
vendor/topnew/src/Db.php
An example of your applications:
Dept:
CMS | Read: 1653 | 2019-10-10
1
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: 11071 | 2019-02-10
1
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: 13832 | 2019-02-02
1
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: 31227 | 2019-01-28
- 1
- 2
- 3
- »