Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-08-06 15:46:41

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

admin page, show nesting of categories more clearly ?

Several of my sites have hundreds of nested categories. Hundreds. Two will likely have thousands of nested categories before I am done.

It would be great if the admin page for categories had some way so I could look at the page and see what sub-sub-sub category was under the correct main level category or not.

I did print them out, still gives me a headache. Looking over 21 pages of printout is not something my eyes deal with well anymore.

I am trying with new ones to make sure they are correct, but the previous entered categories I’m not sure of without checking each one individuadualy.

Is there a plugin, or an admikn theme, that does this visually ?

Thanks.

( I did do a search, but didn’t find anything.)

edit: I updated Crestar to txp 4.4.1

Last edited by JimJoe (2011-08-06 17:26:48)

Offline

#2 2011-08-07 20:11:17

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

Re: admin page, show nesting of categories more clearly ?

Any suggestions at all ?

Offline

#3 2011-08-07 20:41:23

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

Re: admin page, show nesting of categories more clearly ?

Hi Jim,

I had a quick think about this last night but have to admit I didn’t get very far.

My first thought was that the HTML on the categories page would be arrange as a nested set of unordered lists, allowing a simple implementation of a tree structure using a jQuery plugin. Alas, the HTML uses styled <p> tags instead, so that kind of stopped me dead in my tracks. Thinking about this a little more, you could probably achieve a similar result (though nowhere near as nice) with a background image for the indentation level attached to the CSS for the admin theme you are using.

Sorry, that’s my best idea for you at the moment. Hope you find a good solution.


Steve

Offline

#4 2011-08-07 21:04:12

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

Re: admin page, show nesting of categories more clearly ?

Hmm… if the background image consisted of vertical lines, that might work.

Thanks. I’ll work on it when I next have the time.

Offline

#5 2011-08-07 21:23:21

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

Re: admin page, show nesting of categories more clearly ?

JimJoe wrote:

Hmm… if the background image consisted of vertical lines, that might work.

That’s what I hoped :)


Steve

Offline

#6 2011-08-08 23:13:22

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

Re: admin page, show nesting of categories more clearly ?

Sorry. I was very tired and was trying to agree with you. I got the impresson my post sounded like I hadn’t noticed what you said.

I have Profantasy’s Campaign Cartographer 3 mapping software. I’ll use that to make a background picture.

Offline

#7 2011-08-08 23:46:41

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

Re: admin page, show nesting of categories more clearly ?

Made the background picture. But I don’t see where the original is called. Obviously the original pic is very small and it is placed down and across each page. So I would have to change that so it took the picture i have, which is larger.

I was looking to see where it is called from, but I didn’t spot it.

Offline

#8 2011-08-11 23:54:25

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

Re: admin page, show nesting of categories more clearly ?

Well, it spreads the png all over all admin pages, not just the categories page. So, I’ll have to figure out how to fix that.

Offline

#9 2011-08-12 11:07:15

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

Re: admin page, show nesting of categories more clearly ?

JimJoe wrote:

Well, it spreads the png all over all admin pages, not just the categories page.

Sounds like you’re applying the CSS rule globally. You should restrict it to just the category page, have a look at its source code, each admin page comes with an individual ID for its body tag (see below).

Made the background picture.

It should be picture*s*, one for each level of indentation. Each level has its own class. You can see that, again, in the page’s source code.

Your rule(s) should look something like #page-category .level-0 {background: transparent url(path/to/image/of/level/zero.png) 0 0 no-repeat;}

You can read about the background property e.g. on the w3schools pages, see esp. the background shorthand property section.


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

Offline

#10 2011-08-12 12:38:31

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: admin page, show nesting of categories more clearly ?

net-carver wrote:

My first thought was that the HTML on the categories page would be arrange as a nested set of unordered lists, allowing a simple implementation of a tree structure using a jQuery plugin. Alas, the HTML uses styled <p> tags instead, so that kind of stopped me dead in my tracks.

This is something I’ll be addressing in the TXP5 admin HTML structure proposal – categories page will be done as unordered lists. I know that does not help with the immediate problem here, but hey!

Offline

#11 2011-08-13 23:50:42

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

Re: admin page, show nesting of categories more clearly ?

Okay, I’ll have to dig into that next weekend. My job is pressure enough I need to do a little MMOing over the weekend to help me relax.

Offline

Board footer

Powered by FluxBB