Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-01-04 10:11:51

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

dzd_multicat_creator

Hi all here is a little plugin that can ease your life sometimes (or maybe)

dzd_multicat_creator

This plugin help creating multiple categories at once.

Download and further details

dzd_multicat_creator

See github to download : https://github.com/dragondz/dzdplugin

Installation

Require textpattern 4.3.0 or above

Activate the plugin

it adds title “Multiple category creator” at the bottom of “Content/Categories” tab.

How it works

Click on “Multiple category creator”, that will show an area, copy/past the structure from spreadsheet (OpenOffice calc or Excel or other), and click “Send”.

The structure is then interpreted and shown as a tabular data, that let you check if all is correct.

Then click on “Create categories” to create the categories.

NB. To be able to see the new categories you must reload the categoy tab.

Data structure

The data to make on spreadsheet must be:

name, title, parent, type(article, image, link, file)

Ex:

mycat MyTitle myparent article
cate Cétacé mycat article

NB. You dont need a header in your structure

History

0.1 Initial release

Thanks

A big thanks to authors of Plugin Composer that really ease our lifes as Textpattern Plugin Developper.

Last edited by Dragondz (2017-01-02 13:02:04)

Offline

#2 2011-12-22 19:29:25

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: dzd_multicat_creator

Oh my God, I love you! this plugin is really useful!

Thanks a lot!


<txp:rocks/>

Offline

#3 2011-12-22 19:50:59

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: dzd_multicat_creator

Happy that help you!

Offline

#4 2012-05-29 19:04:16

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: dzd_multicat_creator

Dont work correctly in 4.4.1 :(

Dont add categories to database

Offline

#5 2012-05-29 19:48:35

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: dzd_multicat_creator

elwins, I have it working here in 4.4.1.

  • Check for the parent category names of the categories you try to create, the samples provided do not work, as far as I remember (“root” should always work).
  • Have you really checked the database or might it be a cache problem?
  • Lastly: Check for conflicting plugins.

In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2012-05-29 20:06:18

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: dzd_multicat_creator

Hi elwins

The plugin works with 4.4.1, are you sur that the cat are not added? dont forget de reload category tab after insertion.

Offline

#7 2017-01-02 13:01:29

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: dzd_multicat_creator

New version released.

Should work with all version of txp, but tested only on 4.6.2.

download it on github : https://github.com/dragondz/dzdplugin

Offline

Board footer

Powered by FluxBB