How to add a category from another file?

Post Reply
gencFB
Jr. Bludit
Posts: 2
Joined: Mon Mar 16, 2020 8:48 pm

Mon Mar 16, 2020 8:53 pm

Hello, I want to add a category from another php file. I researched a bit, but the category cannot be added with api. What method can I follow?
gencFB
Jr. Bludit
Posts: 2
Joined: Mon Mar 16, 2020 8:48 pm

Mon Mar 16, 2020 10:19 pm

With the fwrite function, I created a new categories.php suitable for format. It seems to be working on the panel, will there be changes in another section?

bl-content / databases / categories.php
User avatar
Edi
Site Admin
Posts: 1909
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Wed Mar 18, 2020 12:15 pm

I think this should work.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
Post Reply