-
- 322 Posts
One change in 2.4.2 is restoring the styles for unpublished and hidden pages:
"Different tree styles for unpublished + hidemenu"
It certainly was strange when this got changed. Now, it's changed back, but I've always felt like the styles were backwards. Unpublished pages should be gray, and pages hidden from the menus should be black (or whatever the current color is for published pages) and italics. This way, it makes sense visually: full-color text means the page is visible on the web, gray means it is not. I've had clients who had trouble distinguishing unpublished pages because the text color is the same as published pages.
Anyone else feel the same way?
-
- 24,544 Posts
Even after all this time, I can never remember which is which. It's tricky because there are really 4 separate conditions.
I'd like to see:
Green = published
Gray = unpublished
Italic = not shown in menus
Roman = shown in menus (+ maybe bold)
[ed. note: BobRay last edited this post 8 years, 7 months ago.]
-
- 322 Posts
Hmm. Hadn't thought of that before, but you're right. I guess if a page is unpublished I don't care if hide from menus is set or not! On my most recent sites, I add an extra stylesheet that loads for manager pages. It makes unpublished resources gray, and published ones are the blue text color, with ones hidden from menus the lighter blue color. In MODX 2.3 and above, the text for resources in trees is not bold, so are you proposing that they SHOULD be bold, except for ones hidden from the menus? (I would make resources shown in menus roman, not italic, since that's the "normal" status).
______________
So I just updated my manager stylesheet to make hide from menus italic, published the regular dark blue color, and unpublished gray. This way, resources that are unpublished and hidden from menus are both gray and italic. It works!
-
- 24,544 Posts
Agreed, I had the italic/roman thing backwards.
I like your setup too, though. Where is that manager stylesheet? I may play around with it.
Does it get overwritten on upgrades?
-
- 24,544 Posts
Very nice. Do you mind if I do a blog post on it?