Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-23 01:23:19

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Turn Sections/Catgeories on and off in admin

Is there a plugin, or a way of turning off sections, categories in textpattern?

I have just had a request to build a site where in each section there are 8 categories (films, beauty, celebs, holistic etc) but only 3 can and need to appear at one time.

They want to be able to choose which categories are displayed at which time.

I’ve looked through the plugins, but couldn’t find anything which struck me of doing this – but I’m not sure what I am searching for.

It would be good to have a tickbox next to the category for show/hide :)

Offline

#2 2008-10-23 04:08:39

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Turn Sections/Catgeories on and off in admin

I forgot to mention that they want nothing to do with code/tags at all – just copy input

Offline

#3 2008-10-23 10:09:13

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Re: Turn Sections/Catgeories on and off in admin

I don’t know if there is a plugin for hide/show the categories,
(still new in textpattern not familiar with all the plugins out there)

but you can just rename the categories
and in the page point on the specific categories
use the “rss_suparchive” plugin

<txp:rss_suparchive 
section="blabla" 
category="films,beauty,celebs,holistic" 
form="blabla" limit="9999" status="4" allowoverride="0" />

then go and change the name of the categoty “films” to “films#” or something
and then change it back to “films”

so you got:
films#
beauty#
celebs
holistic
5#
6#
7
8#
and only categories name: celebs,holistic,7 will show up
it’s an idea if there is no plugin for this

hope that helps you ;)

Offline

#4 2008-10-28 00:03:18

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Turn Sections/Catgeories on and off in admin

Cool – simple – but effective… thanks :)

Offline

Board footer

Powered by FluxBB