tpr

AdminOnSteroids

Recommended Posts

Just read your comment here and found out AOS now has some profound documentation.

You're a monster, @tpr! The wiki is awesome! I saw it and said to myself: "Ha, but he probably does not have changelog!" But I was wrong (and astonished)!

I think the main PW repo could benefit from a CHANGELOG.md like this. Especially that there are enough of nice changes to be mentioned almost every week. Sorry for offtop))

 

  • Like 3

Share this post


Link to post
Share on other sites

Hi @tpr

Has this been reported yet?

FileFieldTweaks-icons-cover-trash.gif.82c156a8277d7fba8408f3b7f80db804.gif

FileFieldTweaks icons cover the trash icon making it "impossible" (for a client...) to delete. Turning off the options temporarily fixed the delete issue, but the download icon is a good feature, we are missing it... :) 

Share this post


Link to post
Share on other sites

Yep, several times :) though the download icons was not harmed at all :)

Update to v151 to fix.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for the quick update! I didn't even had time to blink :)

  • Like 1

Share this post


Link to post
Share on other sites
On 8/14/2017 at 6:24 PM, tpr said:

Yep, several times :) though the download icons was not harmed at all :)

Update to v151 to fix.

speaking of download icons – there is a (probably not used much, but nonetheless awesome) module called Secure File - for that module, the download button doesn't work, i guess AOS is not compatible with that module; I disabled the "Add Asset Download Button", since that module already provides a download link for the file. Just wanted to post that here in case someone else uses secure file and comes across the non-working download (if they have AOS add asset download enabled)...

  • Like 2

Share this post


Link to post
Share on other sites

@tpr - nice job on the AddNewChildFirst functionality - very cool!

A couple of minor things:

1) This sentence needs the "of" added:

"Add new page as first child instead of last"

2) There are several locations where the PW file compiler is causing problems in your text, eg:

59a4889a73ff6_ScreenShot2017-08-28at2_18_03PM.png.a77f6cbe63377658dda2807f446511dd.png

This is due to this bug: https://github.com/processwire/processwire-issues/issues/98

I have come across this in my own modules and I just end up re-wording things to avoid parentheses near PW variable names, but of course it would be great if this could be fixed properly, but I don't think it's high on Ryan's priorities.

  • Like 1

Share this post


Link to post
Share on other sites

Actually just found an easy solution for these, eg:

replace:

Shortcuts to templates and fields(SuperUser only)

with:

Shortcuts to templates and fields (SuperUser only)

Note that it has to be a   - an ordinary space won't work.

Share this post


Link to post
Share on other sites

Thanks @adrian, I haven't came across these issues, good to know.

The AddNewChildFirst submodule works pretty neat, thanks for your contributions in this topic - I only collected all the goodies from there :)

  • Like 2

Share this post


Link to post
Share on other sites

Is it just me who has strange looking AdminDataTable filter box in AOS 1.5.2? See:

aos-table-filter.jpg.7270d1eb0ce696f4cc7a4f6646fa8137.jpg

I tried different browsers in incognito/private browsing but it stays like that :( The label introduced is not too useful btw, it takes up space however most users can recognize a filter box these days.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks, that's coming from the latest PR I merged yesterday, will fix soon.

  • Like 1

Share this post


Link to post
Share on other sites

Hi @tpr

I'm having a real pita issue when AOS is enabled. In the screen capture when the mouse pointer stops I single click as well. Whenever I click into the editor the content moves. I could have clicked on the toolbar items too, as it jumps back to its proper position in that case too:

ckeditor-jumping.thumb.gif.f2deedb0ba0745058ce3c62552742866.gif

The moving content of the editor makes it hard to edit things. I tried disabling all CKE plugins I had turned on in the AOS settings but that did not make any difference. I can only get rid of this behavior if I disable AOS.

Unluckily this glitch is not present all the time, making it time consuming to test it. Sometimes the content jumps, other times it does not. I could not see a pattern in this, looks like it is randomly happening.

I also tried without the custom editor css I use but did not help either, it happens without that one too.

Has anyone ever seen this?

Share this post


Link to post
Share on other sites

This is the "Sticky CKE toolbar" feature located in the RenoTweaks. I'm also using it and most of the ime it works fine but sometimes there's a jump when the toolbar goes to fixed position and its height is changing. There's a "Fixed" CKEditor plugin that never worked well for me (even with the fix in their forums) so I revisited this again today and found a nice and easy solution using position:sticky. This works in latest browsers only but I think it's still better than the current one - no hacky JS/CSS, and works with multiple editors too.

I'll upload this new version soon, until that you can uncheck this feature.

aos-sticky-cke-toolbar.gif

  • Like 2

Share this post


Link to post
Share on other sites

v1.5.4 is available with the fixed sticky CKE toolbar and some other fixes.

  • Like 1

Share this post


Link to post
Share on other sites

Hi @tpr. Do you know how to set another theme for Codemirror? If I use it, my HTML source code becomes unreadable of the theme (which seems to be moono-lisa).

 

chrome_2017-09-07_14-40-29.png

Share this post


Link to post
Share on other sites

v1.5.7 is up, containing the Trash pagelist action for non-SuperUsers too (from Robin S), with an inline confirm feature:

aos-user-trash.gif.bba2f9dce2d34245d33c9211ea968ca1.gif

  • Like 4

Share this post


Link to post
Share on other sites
2 hours ago, tpr said:

v1.5.7 is up, containing the Trash pagelist action for non-SuperUsers too (from Robin S), with an inline confirm feature:

Who-hoooo, I've been dreaming of this! Thank you very much, Sir!

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Hi @tpr Tiny issue today which was "discovered" by me long time ago, I just did not find the time to post it... Do you happen to have Forgot Password module installed? Button centering is missing here:

aos-forgot-password-button.gif.215bce50f0b71834e8226e07a44c12a1.gif

Share this post


Link to post
Share on other sites

I saw this once but I was lazy to make the adjustments :) will do later

  • Like 1

Share this post


Link to post
Share on other sites

Hi @tpr - there also seems to be an issue with the Reno tweaks. When guest is using Reno, for the login, and I've turned on the fixed header, the "Login" header is offset by the width of the sidebar, which does not exist on the login screen, so it just has an empty space to the left.

Share this post


Link to post
Share on other sites

Are you using the latest version? A similar bug was fixed there and I can't reproduce.

If it still exists, could you send a screenshot of your RenoTweaks? And is "Center login form" (under Misc) checked?

Share this post


Link to post
Share on other sites

I'm using PW 3.0.62 and the latest (1.5.7) version of AOS, and I get this error message when I try and go to the Users page – Error: Using $this when not in object context (line 722 of /var/www/xxx/modules/AdminOnSteroids/AdminOnSteroids.module)

Share this post


Link to post
Share on other sites
10 hours ago, tpr said:

Are you using the latest version? A similar bug was fixed there and I can't reproduce.

If it still exists, could you send a screenshot of your RenoTweaks? And is "Center login form" (under Misc) checked?

Ah, you're quite right - was one of my sites that hasn't upgraded yet (missed it!).

Thanks :)

  • Thanks 1

Share this post


Link to post
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


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By BitPoet
      So I stumbled over the request to allow limiting templates to be used only once under every parent page in this thread
      and found that this would actually come in handy (also in a site I've built).
      The code can be found on github and soon in the module repo.
      After installation, you'll find a new checkbox "Only once per parent" in the family tab when editing a template.

    • By Robin S
      Password Generator
      Adds a password generator to InputfieldPassword.

       
      Usage
      Install the Password Generator module.
      Now any InputfieldPassword has a password generation feature. The settings for the generator are taken automatically from the settings* of the password field.
      *Settings not supported by the generator:
      Complexify: but generated passwords should still satisfy complexify settings in the recommended range. Banned words: but the generated passwords are random strings so actual words are unlikely to occur.  
      https://modules.processwire.com/modules/password-generator/
      https://github.com/Toutouwai/PasswordGenerator
    • By Robin S
      If you've ever needed to insert links to a large number of files within CKEditor you may have found that the standard PW link modal is a somewhat slow way to do it.
      This module provides a quicker way to insert links to files on the page being edited. You can insert a link to an individual file, or insert an unordered list of links to all files on the page with a single click.
      CKEditor Link Files
      Adds a menu to CKEditor to allow the quick insertion of links to files on the page being edited.

      Features
      Hover a menu item to see the "Description" of the corresponding file (if present). Click a menu item to insert a link to the corresponding file at the current cursor position. The filename is used as the link text. If you Alt-click a menu item the file description is used as the link text (with fallback to filename if no description entered). If text is currently selected in the editor then the selected text is used as the link text. Click "* Insert links to all files *" to insert an unordered list of links to all files on the page. Also works with the Alt-click option. Menu is built via AJAX so newly uploaded files are included in the menu without the page needing to be saved. However, descriptions are not available for newly uploaded files until the page is saved. Installation
      Install the CKEditor Link Files module.
      For any CKEditor field where you want the "Insert link to file" dropdown menu to appear in the CKEditor toolbar, visit the field settings and add "LinkFilesMenu" to the "CKEditor Toolbar" settings field.
       
      http://modules.processwire.com/modules/cke-link-files/
      https://github.com/Toutouwai/CkeLinkFiles
    • By matjazp
      A module for managing files and folders. Supports creating, opening (e.g. viewing, playing, editing), renaming, moving, copying, deleting and searching for files. You can also view and change (not supported on Windows) file and directory permissions. 
      https://github.com/matjazpotocnik/ProcessFileManager

      The author of FileManager component is (c) 2006 - 2018 Gerd Tentler, http://www.gerd-tentler.de/tools/filemanager/. I modified it to work with ProcessWire as a module. Please see license files on usage in commercial projects!
    • By Robin S
      An inputfield for displaying markup editable via CKEditor.
      The module is intended for use with the Form Builder module. Allows blocks of static text to be included within a form, which can be edited in the form settings using CKEditor.
      Usage
      Install the Markup CKEditor module.
      In the Form Builder module settings, add "MarkupCKEditor" to "Inputfield types to use with FormBuilder".
      In your form settings, add a new field of type "Markup CKEditor". Enter the text you want to show in this field using "Markup Text" on the "Details" tab.
      Screenshots


       
      http://modules.processwire.com/modules/inputfield-markup-ckeditor/
      https://github.com/Toutouwai/InputfieldMarkupCKEditor