Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-07-06 13:58:59

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

[request] Create a category on-the-fly

Is there a way to add an article category directly in the write tab?

Last edited by wornout (2010-07-06 14:06:09)

Offline

#2 2010-07-06 14:02:42

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,539
Website GitHub

Re: [request] Create a category on-the-fly

wornout wrote:

Is there a way to add a article category directly in the write tab?

Not yet, but I have a plugin in mind to do it. It’s really simple; just need a bit of free time to do it.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2010-07-06 14:09:28

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: [request] Create a category on-the-fly

I’ll wait it!
I’m sure you’ll do a great plug-in like others smd.
Thanks Stef

Offline

#4 2010-07-06 15:41:38

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [request] Create a category on-the-fly

Hi Edoardo

if you need to create new categories on-the-fly from the write tab then I’m sure Stef’s upcoming plugin will do a fantastic job. In the meantime, and if it suits your needs, you can achieve something similar using tru_tags.


Steve

Offline

#5 2010-07-06 15:51:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,539
Website GitHub

Re: [request] Create a category on-the-fly

net-carver wrote:

I’m sure Stef’s upcoming plugin will do a fantastic job

I had a spare 20 minutes so I wrote a version and mailed it to him already :-)

Less then 50 lines of code: damn, I love pluggable_ui(). It only allows you to add (unlimited) cats to the root node right now and assigns the first two to the article. I might alter that so you can create them beneath a parent at some point.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#6 2010-07-06 16:12:28

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [request] Create a category on-the-fly

Stef

did you just upgrade your cranial capacity or something? How many dribbles gribbles of power have you under the hood?


Steve

Offline

#7 2012-11-02 08:58:09

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: [request] Create a category on-the-fly

Hi
is there now a Plugin?


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

#8 2012-11-02 09:29:24

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,539
Website GitHub

Re: [request] Create a category on-the-fly

SuMu wrote:

is there now a Plugin?

Yes but note the beta is your best bet. Untested on 4.5.x but it’ll mostly work (aside from maybe on the Write tab after save because of the new AJAX saves). I’ll update it officially at some point to 4.5.x.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#9 2012-11-02 10:13:39

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: [request] Create a category on-the-fly

Oh Thank You :-)


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

Board footer

Powered by FluxBB