Jump to content

AdminOnSteroids


tpr

Recommended Posts

  • 3 months later...

@tpr, could you please make the styles that AOS applies to Select2 more targeted so that it's possible to use Select2 separately in the PW admin without being affected by AOS styles?

At the moment there are AOS styles like this...

.select2-selection.select2-selection--single,
.select2.select2-container,
span.select2-dropdown {
  width: auto !important;
  min-width: 300px !important;
  max-width: 640px;
  }

...which will apply to every Select2 instance and are impossible to override to get back the inline style that Select2 uses to set the dropdown width dynamically. It would be better if these could be something like:

.aos-select2.select2-selection.select2-selection--single,
.aos-select2.select2.select2-container,
span.select2-dropdown {
  width: auto !important;
  min-width: 300px !important;
  max-width: 640px;
  }

See "dropdownCssClass" and "selectionCssClass" in the Select2 options. Thanks!

  • Like 2
Link to comment
Share on other sites

  • 5 months later...

Hi there,

Thanks for an awesome module!

I only recently discovered AddNewChildFirst, before that I used @Horst's older module (Pagetree Add New Childs Reverse) to have new pages placed at the top of the page list. After uninstalling Horst's module, I tried to replace its functionality with AddNewChildFirst by enabling the submodule for the template I need it for. Unfortunately that didn't work. Has anyone managed to do this? Is it like with Horst's module that it doesn't work on pages that already have existing child pages? The docs don't say anything about it. Or is it that Horst's module modified my pages in a way that collides with AddNewChildFirst's workings?

Any hints are appreciated!

Link to comment
Share on other sites

@CalleRosa40 I use the AddNewChildFirst feature regularly and so can confirm that it works. Check that you have enabled it for the correct template: the template of the pages that will be added at the top, and not the template of the parent page. The configuration is different from Pagetree Add New Childs Reverse in this regard. And I assume you have uninstalled Pagetree Add New Childs Reverse - you wouldn't want to have this module and the AOS feature running at the same time. Edit: I see now you already said that you uninstalled Pagetree Add New Childs Reverse.

  • Thanks 1
Link to comment
Share on other sites

14 hours ago, CalleRosa40 said:

Or is it that Horst's module modified my pages in a way that collides with AddNewChildFirst's workings?

You may have a look to the sort ids. With my old module they initially get setup to 9999999 for the first child. Maybe this is what interferes now. Simply uninstalling the module does not change this. Maybe you temporarily can change the sort order to something different then manually drag/drop, so the tree gets reordered and the sort ids also gets rebuild, (from 0 upcounting instead of the old downcountig from 99999999). And after that, set the sort order back to manually drag/drop.

  • Thanks 1
Link to comment
Share on other sites

@Robin S, you were spot-on. Thanks! I configured AOS AddNewChildFirst for template of parent page. My bad. Now everything seems to work fine. However, name of submodule is kind of misleading IMHO ...

@horst, thanks to you, too! And thanks for your work, your module served me well for a long time.

P.S. Just realized that Privacy Bagder add-on prevents automatic "@user name" in Firefox ...

  • Like 2
Link to comment
Share on other sites

One more tiny little thing. CKEditor's source view does not seem to work with AOS enabled. Entire screen (including modal) gets dimmed. Upon clicking OK to close modal, the page even "freezes", making it necessary to reload. Is anyone else experiencing this behavior? Sorry, forgot to do proper forum search first. Bug has been covered.

Link to comment
Share on other sites

  • 1 month later...

I've spotted an issue which I really hope can be solved for AoS...

Using Reno admin theme with AoS enabled and @ryan's ProDrafts module installed Reno hides the ProDrafts 'Live Preview' link in the admin header . The line in question is:
 

<a href="/admin/page/prodrafts/edit/?id=1">Live Preview</a>



See post here: https://processwire.com/talk/topic/25498-solved-prodrafts-reno-admin-theme-admin-on-steroids/

PW: 3.0.165
AOS: 2.0.21
ProDrafts: 0.0.8

Without AoS enabled:

 

 

 

2062271966_Screenshot2021-05-01at17_45_53.thumb.png.a8bfbe31c0ece3782ea93881dcf17443.png

 

And with AoS Enabled

1967223182_Screenshot2021-05-01at17_47_46.thumb.png.8ac7f82c8e6da9a8c16a2bdbae0f5a0f.png

 

Like I say, I really hope this is solvable as it's a very powerful combination!

Thanks.

 

Link to comment
Share on other sites

  • 1 month later...

I noticed that there is an option to "Open Home/View site in new tab (topnav)", and i have that checked.

But when i select the menu item called "View Site" in the top nav, it doesn't open in a new window. So i wanted to report that as a possible bug. This is on UIKit admin theme.

Also it would be cool if we could have an option for view links on the page list open in a new tab, if that isn't already an option somewhere that i missed...

409341492_Module__AdminOnSteroids__equinox_nibiri_net.jpg.339c6f4211c2591d7c0bbc721cd87407.jpg

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

I'm trying to style this for a dark theme using UIKit LESS... got a few overrides working but have run into a snag that debug tools isn't helping with.

For the life of me I can't figure out how the white background is appearing on the list elements in the InputfieldsCheckboxStacked ul.

I can alter the background of the entire block, and I understand opacity rules are dictating status behavior, but I can't seem to find the rule that dictates the white background. Nothing shows up in the inspectors, and I don't think I saw it in the jquery stuff.

Screenshot_1.jpg

Link to comment
Share on other sites

  • 2 weeks later...

Good day!

Thanks for the great module, @tpr! I've never installed it myself, but now got acquainted with it on a customer site, and see how much goodness does it bring! 

I think I spotted a little bug. I've got "Add language switcher to the admin" option from the Misc section turned on. It works great in general. But the multilang tab labels do not get selected the right way, when I switch the language. The contents of the field itself changes according to the selected language as it should, but the tab label does not (see the screenshot). 2021-07-15--13-45-41--firefox.thumb.png.e10d04a553261cbce08c067d57b327cd.png

The selected lang is Deutsch, the content of the "Titel" field is Uber (in German), but the field label is still English. Could you please take a look?

Link to comment
Share on other sites

On a ML site I couldn't reproduce this (PW 3.0.123). I have no idea what could cause this and unfortunately I haven't touched AOS recently and unfortunately I have no time to investigate 😞 Perhaps it's because of a newer PW version or perhaps something in your languages setup (naming?), but that's only shooting in the dark.

Link to comment
Share on other sites

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
×
×
  • Create New...