Speed Posted November 27, 2016 Share Posted November 27, 2016 With Reno theme and AOS Installed, The accordion is disabled on sidebar which is really good. But... unfortunately, the accordion does not affect on page tree. It gets really pain to click on parent to expand child. Especially with my clients that think there isn't any child to do editing. Is there a way to disable it? Link to comment Share on other sites More sharing options...
tpr Posted November 27, 2016 Share Posted November 27, 2016 I don't think there's an easy way because child pages are loaded with AJAX. But perhaps the children counter could be tweaked to read "show children" as a workaround. Link to comment Share on other sites More sharing options...
Speed Posted November 27, 2016 Author Share Posted November 27, 2016 56 minutes ago, tpr said: But perhaps the children counter could be tweaked to read "show children" as a workaround. And How could I do that? If I knew enough about building modules (hopefully one day), I'd create something like this for page tree on parent setting or somehow. Link to comment Share on other sites More sharing options...
tpr Posted November 27, 2016 Share Posted November 27, 2016 With CSS for example: .PageListItem:not(.PageListItemOpen) span.PageListNumChildren.detail:not(:empty):after { content: " (click show children)"; } It's only an extra visual sign that there are subpages, rather than just showing the number of children. Of course you can tweak it to your likings, eg. make it more visible adding a background color etc. You can use AOS's Admin CSS feature to add the rules above to the admin. 1 Link to comment Share on other sites More sharing options...
Speed Posted November 27, 2016 Author Share Posted November 27, 2016 Which css files would that be? I've tried AdminOnSteroid.css, AdminOnSteroid.css. It didn't show anything. Oh I forgot to mention I use Reno theme too. Link to comment Share on other sites More sharing options...
adrian Posted November 27, 2016 Share Posted November 27, 2016 11 minutes ago, Speed said: Which css files would that be? I've tried AdminOnSteroid.css, AdminOnSteroid.css. It didn't show anything. Oh I forgot to mention I use Reno theme too. @tpr is referring this option in the AOS config settings which lets you load additional CSS rules to the PW admin. 3 Link to comment Share on other sites More sharing options...
Speed Posted November 27, 2016 Author Share Posted November 27, 2016 Oh *facepalm*, I completely forgot about this! Thanks Adrian for reminding me. Its now working... Thank you TPR. 2 Link to comment Share on other sites More sharing options...
tpr Posted November 27, 2016 Share Posted November 27, 2016 What adrian wrote + simply "/site/templates/admin.css" works too (it's loaded by AOS if exists). 3 Link to comment Share on other sites More sharing options...
Speed Posted November 27, 2016 Author Share Posted November 27, 2016 Yeah... That would work'd too Link to comment Share on other sites More sharing options...
Zeka Posted November 28, 2016 Share Posted November 28, 2016 14 hours ago, tpr said: What adrian wrote + simply "/site/templates/admin.css" works too (it's loaded by AOS if exists). @tpr maybe you could make some note about this feature in AOS docs. Link to comment Share on other sites More sharing options...
tpr Posted November 28, 2016 Share Posted November 28, 2016 Yep, just realized myself that it's not documented. Now it is. 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now