Jump to content

Recommended Posts

Posted

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? 

 

Posted

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.

Posted
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. 

Untitled.png

Posted

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.

  • Like 1
Posted

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. 

 

 

Posted
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.

Screen Shot 2016-11-27 at 11.33.23 AM.png

  • Like 3
Posted

Oh *facepalm*, I completely forgot about this! Thanks Adrian for reminding me.  Its now working...

Capture2.JPG

Thank you TPR. 

 

  • Like 2
Posted

What adrian wrote + simply "/site/templates/admin.css" works too (it's loaded by AOS if exists).

  • Like 3
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...