Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-10 14:59:26

jim
Member
Registered: 2008-11-06
Posts: 29

Set a default category?

Hi folks,

Is there a way to set a category as default so I don’t have to pick it every time I write a new article (lazy, I know)? Quick search turned up nothing, but “category” and “default” are pretty vague keywords to search on. :-)

Thanks!

Jim

Offline

#2 2008-12-10 15:34:14

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: Set a default category?

jim wrote:

Is there a way to set a category as default so I don’t have to pick it every time I write a new article

Off the top of my head I don’t think so, but you could always install upm_savenew which adds a Save New button to your published articles so you can clone them and edit them…?


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 2008-12-11 04:08:13

jim
Member
Registered: 2008-11-06
Posts: 29

Re: Set a default category?

Nice workaround. I may try to cobble together a default category plugin, though. I’ll post here if I do. Thanks!

Offline

#4 2008-12-11 09:09:46

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Set a default category?

Select a default category: rah_default_category

Offline

#5 2008-12-11 10:19:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: Set a default category?

Gocom wrote:

Select a default category: rah_default_category

*chants*

Go-com – rah rah rah!
Go-com – rah rah rah!

You da man.


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 2008-12-11 10:40:10

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Set a default category?

Bloke wrote:

*chants*

Go-com – rah rah rah!
Go-com – rah rah rah!

You da man.

Lol. Thanks for hurrahing ME :) Makes me feel so s-p-e-c-i-a-l. Wanna hear that in a hockey game by 15.000 cheerful fans :D

Last edited by Gocom (2008-12-11 10:41:24)

Offline

#7 2008-12-11 14:06:37

jim
Member
Registered: 2008-11-06
Posts: 29

Re: Set a default category?

Wow, Gocom that’s perfect! I was hoping for a pointer to an existing plugin, I really didn’t expect anyone to write one for me—so generous with your time—THANK YOU!

Offline

Board footer

Powered by FluxBB