Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2010-09-17 02:23:19

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Categories choice linked to section choice - backend

PascalL wrote:

redbot, this is really a must ! are you going to develop this plugin further, or at least publish it officially in its state ? (configuration is not that hard) Has I not found it by chance, where would I be now?

Hi Pascal,
actually I totally forgot about this plugin. I just recalled something after reading this request yesterday. And no, I never published it officially.
Anyway I’m glad someone found it useful, thanks!

P.S. I don’t think I’m going to develop this further, as far as I remember it should just do what it claims. Besides -just out of curiosity – do you have some special needs?

Offline

#17 2010-09-17 08:44:43

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: Categories choice linked to section choice - backend

I don’t think I’m going to develop this further, as far as I remember it should just do what it claims. Besides -just out of curiosity – do you have some special needs?

Indeed, the plugin does it, and well ! I only see one possible added fonctionality: the ability to list included categories instead of excluded ones.

Much more important to me is your plugin visibility : please, would you consider to publish it on textpattern.org instead of just pasting it inside this thread ?

I always regret this functionality was missing. In a website with many categories, and clearly differentiated sections, having one category list which covers all sections can be more than ennoying. I usually find myself restrain the use of categories for non-cross website (i.e section limited) “labels”, and use custom fields instead. In fact, you plugin, as simple as it is, expands the domain of categories’ possible uses.

Thanks !

Offline

#18 2010-09-17 10:24:26

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Categories choice linked to section choice - backend

Er… it’s embarrassing but I just had a quick glance at the plugin and I found it difficult to understand my own code! I should try again when I’m more focused (I’m at work now). Anyways…

PascalL wrote:

Indeed, the plugin does it, and well ! I only see one possible added fonctionality: the ability to list included categories instead of excluded ones.

Yes I think it is doable but I wonder if its worthwhile the effort. I’ll think about it.

Much more important to me is your plugin visibility : please, would you consider to publish it on textpattern.org instead of just pasting it inside this thread ?

Mmm… yes maybe you are right, the fact is I wrote this quickly to answer to a request in the the forum so probably it could be coded better. I’ll publish it as soon as I’ll have the opportunity to check it again, ok?

I always regret this functionality was missing. In a website with many categories, and clearly differentiated sections, having one category list which covers all sections can be more than ennoying.

Agree, the only thing I always missed from txp are subsections

I usually find myself restrain the use of categories for non-cross website (i.e section limited) “labels”, and use custom fields instead.

Me too. That’s why I wrote my other (more complex) plugin bot_write_tab_customize – which can be useful – expecially if used with glz_custom_fields

Offline

#19 2010-09-18 15:48:58

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Categories choice linked to section choice - backend

Any update ? Thanks.

Offline

#20 2010-09-19 12:28:57

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Categories choice linked to section choice - backend

JimJoe wrote:

Any update ? Thanks.

No sorry, I don’t think it will happen soon, I’m too busy.
Anyways – as said before – the plugin should work ok in its actual state.

Offline

#21 2010-09-19 14:38:16

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Categories choice linked to section choice - backend

So, section 1 would be the state name, and section 2 are the town names ?

Offline

#22 2010-09-19 14:58:35

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: Categories choice linked to section choice - backend

JimJoe wrote:

So, section 1 would be the state name, and section 2 are the town names ?

Section are listed in the Presentation>Sections tab.
It seems you didn’t really organise the content of your site with sections, it seems you only have one section: “articles”.
As it is, Redbot’s plugin might not be very useful to you.

Offline

#23 2010-09-19 15:06:05

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Categories choice linked to section choice - backend

So if I made states a section and towns a section, it would work ?

Offline

#24 2010-09-19 15:08:11

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: Categories choice linked to section choice - backend

Mmm… yes maybe you are right, the fact is I wrote this quickly to answer to a request in the the forum so probably it could be coded better. I’ll publish it as soon as I’ll have the opportunity to check it again, ok?

Great ! Thanks in advance !

Me too. That’s why I wrote my other (more complex) plugin bot_write_tab_customize – which can be useful – expecially if used with glz_custom_fields

I’m a happy user of both !

Cheers!
Pascal

Last edited by PascalL (2010-09-19 15:08:28)

Offline

#25 2010-09-19 15:13:11

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Categories choice linked to section choice - backend

JimJoe wrote:

So, section 1 would be the state name, and section 2 are the town names ?

Ehm.. I fear I don’t understand.. this plugin hides categories depending on which section is selected while I suppose you want to hide items from category2 depending on which category1 is selected, right?
This should be doable hacking the plugin, but in your case it would still be an huge work with more than 150 categories to be handwritten in the code (!).

edit
Pascal was faster

Last edited by redbot (2010-09-19 15:15:26)

Offline

#26 2010-09-19 15:20:53

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Categories choice linked to section choice - backend

Correct. When I select a state for category one, I want only the towns in that state to show up in category 2 when I am writing an article.

So, that would work for me, if it works on the Admin-> write article page.

Offline

#27 2010-09-19 15:31:01

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Categories choice linked to section choice - backend

JimJoe wrote:

…So, that would work for me, if it works on the Admin-> write article page.

Yes that would work but, as I said before, you’ll have to write another (similar) plugin or hack it (sorry I can’t do it now).

Offline

#28 2010-09-19 15:32:20

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Categories choice linked to section choice - backend

Oh, and the site is huge already… so a bit of typing and editing won’t be a big deal. It will just take me some time to do… maybe longer than I expect, but I think I can handle it. I just need to know what to do.

Offline

#29 2010-09-19 16:59:47

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Categories choice linked to section choice - backend

JimJoe wrote:

…I just need to know what to do.

Jim,
That means I should explain you how to modify the plugin (which is something different than just configuring it)?
Sorry I haven’t the time now and it would take more time to explain than doing it myself for you.
When I can, of course.

Offline

#30 2010-09-19 17:05:59

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: Categories choice linked to section choice - backend

No problem. I’m kinda busy this weekend to.

Offline

Board footer

Powered by FluxBB