Jump to content
tpr

AdminOnSteroids

Recommended Posts

The default theme wouldn't be nicer even if it had such login page :) Do you need that?

Share this post


Link to post
Share on other sites
Quote

The default theme wouldn't be nicer even if it had such login page :) Do you need that?

Actually I find the default admin-page with the multi-hierarchy popup submenus a little bit quicker to use.
So I leave the default for the admins and use the Reno theme (with full beauty power) for the editors.

But with the AdminOnSteroids is getting better every day, that view might change. :-)

b.t.w.  I wonder why ASMtweak "move delete button to the left" is the default setting. The trash is now very close to the dragging handle, where selections can get removed easily inadvertently. That can pass unnoticed if ASM lists are very long, I think.

Share this post


Link to post
Share on other sites

I am using the default theme and want to send a small feedback.

a) if I select "sticky header" the tabs have not background any more (they float freely). I thought they where easier to read before. Why not having the background from the sticky header also there (as it was before) or a lighter variant of the background?

Or a "pills" menu design could look fancy there - opposite to tabs they look nice when floating.

b) I find the color and  place for the description and hints tooltip hard to find, but I want editors to take that information seriously. I switched that feature of but wanted to send a feedback anyway.

 

Bildschirmfoto 6.png

... or the tabs could be moved down?

Bildschirmfoto 7.png

 

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for the feedback! I don't see the issue with tabs, they doesn't have the gap at the bottom here:

aos_default-tabs.png

Are you sure it's not cache? I checked with Chrome-Firefox too.

As for the tabs background, AOS doesn't "know" the colors of the theme, it just fixes things here or there with an additional CSS. So making bigger adjustments that would require bigger changes would be too error-prone (like making pills from tabs). The only colors I use is white and (shades of) black, and I use "inherit" where it's suitable. Otherwise theme colors would go out of control, especially if one sets a different theme color set (at the theme's module settings).

AsmTweaks delete icon: well I haven't thought of this before but it makes sense. I have never deleted an asmField accidentally, and probably never moved any by dragging at the "drag" icon, I usually start somewhere in the middle :) Anyways, I've removed it from the default settings. Sometimes it's hard to decide which way to go: support power users or stay on the safer side :)

I agree that tooltips/description icons are hard to find this way, but I couldn't find a better placement, and it's for power users so they usually doesn't need them. That's why it has an option to disable for non-superusers.

Share this post


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

The default theme wouldn't be nicer even if it had such login page :) Do you need that?

It would :-)

  • Like 1

Share this post


Link to post
Share on other sites

Actually you're right :) Just tweaked AOS so both themes will have centered login. Say hello to the second checkbox in AOS for the default theme :)

Edit: download v050 to log in centered :)

  • Like 4

Share this post


Link to post
Share on other sites

that's interesting why I see the default admin page differently.

OK, I see, the gap is coming from the "Prev/Next Tabs module (which is normally another of those cool admin additions). Those "prev"/"next" tabs have a css float-right, which is causing the gap here.

The gap goes away if the UL (tabs container) has overflow hidden.

Edited by ceberlin
addition

Share this post


Link to post
Share on other sites
9 hours ago, ceberlin said:

Prev/Next Tabs module

Such features would be wlecome in AOS too :)

Share this post


Link to post
Share on other sites

Thanks for figuring this out @ceberlin! I've set overflow: hidden as you suggested, haven't found a better way. This will be included in the next update.

@szabesz

I thought adding such feature too but I wouldn't like to re-create existing modules, especially if I don't have something in mind to improve. In case of @bernhard's Pagelist unselect module I had some UI additions and a "restore" feature, that's why I thought it would deserve a chance. In this case (PrevNextTabs) I thought adding a big right-left sticky arrows (like in sliders) but I'm not sure this would be better than the existing module. Anyway, if you have a better idea where should these prev-next links go, please share.

Share this post


Link to post
Share on other sites

anybody also having this issue?

2016-08-20 17_23_26-Modules • ProcessWire • mustangs2016.dev.png

i think the logo should also be centered. what do you think?

2016-08-20 17_25_37-Program Manager.png

i like the centered login :)

Share this post


Link to post
Share on other sites

@bernhard thanks, I've fixed the submenu gap in the main nav.

I also managed to fix the "hoverSaveDropdown" issue (flicker on hover). It's only CSS and I have to test a little more but it's promising. The solution is to hide the "dropdown" part of the button and add the down arrow with :after. Plus I had to add pointer-events: none to the span inside the buttons as they also caused flickering. 

I underestimated this issue because it wasn't as noticable in the Reno theme as in the default. Now it seems fine in both of them.

As for the centered logo in the login page: I'm not sure about it. I like that it sits in the corner but if there are others who vote for it, then let it be.

  • Like 2

Share this post


Link to post
Share on other sites

Hello tpr,

here is a new z-index issue :-[

Screenshot_11.jpg

On th right side - the dropdown of the usermenu will be overlapped by the PW messages. Not a big problem. You can click them away, but if you have time....:)

Data: PW 3.0.30, Reno Theme, AdminOnSteroids 0.5.1

Best regards from the z-index man

Share this post


Link to post
Share on other sites

Thanks @Juergen, this should be fixed in v052.

There's a new feature to FileFieldTweaks (named FileFieldToolbar before v052) that allows downloading assets - images or files. To keep things simple I've used the "download" HTML5 attribute which doesn't work in IE, at least in IE11. I don't plan to fix this because the download link will open in a new window if it's unsupported so it's still usable.

aos_downloadAsset-01.png

aos_downloadAsset-02.png

  • Like 2

Share this post


Link to post
Share on other sites
On 20.8.2016 at 10:26 PM, tpr said:

As for the centered logo in the login page: I'm not sure about it. I like that it sits in the corner but if there are others who vote for it, then let it be.

then i vote for a checkbox: "center logo on login-page" ;)

just checked the new version and the fixes seem to work, thank you :)

Share this post


Link to post
Share on other sites

Maybe obvious, but I just realized that a checkbox field without a headline does not show it's convenient field-edit popups.

  • Like 2

Share this post


Link to post
Share on other sites
5 hours ago, ceberlin said:

Maybe obvious, but I just realized that a checkbox field without a headline does not show it's convenient field-edit popups.

Thanks, good spot. The label in this case is hidden so the tooltip won't be shown (though it's already there). I'll find a way to fix.

@bernhard

Ok, I'll see - I think the checkbox would be too much in this case.

  • Like 1

Share this post


Link to post
Share on other sites

v053 fixes the issue with label-less checkboxes not having field edit tooltips (thanks @ceberlin!)

  • Like 2

Share this post


Link to post
Share on other sites

hi tpr,

maybe if you find the time it would be awesome if you could fix/report/pull request the issue with the flickering dropdowns in admin as well as you just fixed that at buttons. maybe it's the same issue?

although i think that should be considered to be a bug and should not be something you need steroids for... maybe you can make an issue on github and talk to ryan what is the reason for it?

thank you :)

  • Like 1

Share this post


Link to post
Share on other sites

I may not understand this entirely - now the admin have button dropdowns that are shown on click, not on hover, and they don't seem to flicker here.
Or do you talk about other dropdowns?

The current fix in AOS is only a workaround and not really applicable elsewhere.

Share this post


Link to post
Share on other sites

sorry for being unclear :) i'm talking of the menu dropdowns. they flicker when entering with the mouse from the bottom:

flicker.gif

  • Like 1

Share this post


Link to post
Share on other sites

I may found the culprit: the top positon of the dropdown is 46.5px. It's calculated by JS, but I guess it's safe to hardcode as 47px. Try adding this with devtools and see if it helps:

.topnav.ui-menu.dropdown-menu {
	top: 47px !important;
}

Works here in Chrome. In Firefox I couldn't see the flicker at all. In Chrome I see it very rarely, but if you zoom out the page it occurs more often.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks, I haven't notice this because I have the ToolTips submodule always ON and that sets overflow: visible on the element. This will be fixed in the next release, which will be released a bit later because I have modified how HTML classes are added to the page. Now this happens entirely in the backend and not with JavaScript, which has several clear benefits, eg. much less DOM modification and because classes are present immediately, there's no need for the loader. I kinda liked the loader though but without it the admin feels faster. I have to check all settings again to see if everything is in place.

I'm also experimenting with a feature that allows selecting pages and add them to the sidebar/top nav. So far so good, I took the simplest route that requires a bit of JavaScript but I think it's OK in an admin. Otherwise I would have to add/remove pages on module install/uninstall but I wouldn't really like that way.

 

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By gebeer
      Although the PW backend is really intuitive, ever so often my clients need some assistance. Be it they are not so tech savvy or they are not working in the backend often.
      For those cases it is nice to make some help videos available to editors. This is what this module does.
      ProcessHelpVideos Module
      A Process module to display help videos for the ProcessWire CMS. It can be used to make help videos (screencasts) available to content editors.
      This module adds a 'Help Videos" section to the ProcessWire backend. The help videos are accessible through an automatically created page in the Admin page tree. You can add your help videos as pages in the page tree. The module adds a hidden page to the page tree that acts as parent page for the help video pages. All necessary fields and templates will be installed automatically. If there are already a CKEditor field and/or a file field for mp4 files installed in the system, the module will use those. Otherwise it will create the necessary fields. Also the necessary templates for the parent help videos page and it's children are created on module install. The module installs a permission process-helpvideos. Every user role that should have access to the help video section, needs this permission. I use the help video approach on quite a few production sites. It is stable so far and well received by site owners/editors. Up until now I installed required fields, templates and pages manually and then added the module. Now I added all this logic to the install method of the module and it should be ready to share.
      The module and further description on how to use it is available on github: https://github.com/gebeer/ProcessHelpVideos
      If you like to give it a try, I am happy to receive your comments/suggestions here.
    • By Robin S
      A module created in response to the topic here:
      Page List Select Multiple Quickly
      Modifies PageListSelectMultiple to allow you to select multiple pages without the tree closing every time you select a page.
      The screencast says it all:

       
      https://github.com/Toutouwai/PageListSelectMultipleQuickly
      https://modules.processwire.com/modules/page-list-select-multiple-quickly/
    • By gebeer
      Hello all,
      sharing my new module FieldtypeImagePicker. It provides a configurable input field for choosing any type of image from a predefined folder.
      The need for it came up because a client had a custom SVG icon set and I wanted the editors to be able to choose an icon in the page editor.
      It can also be used to offer a choice of images that are used site-wide without having to upload them to individual pages.
      There are no image manipulation methods like with the native PW image field.
      Module and full description can be found on github https://github.com/gebeer/FieldtypeImagePicker
      Kudos to @Martijn Geerts. I used his module FieldTypeSelectFile as a base to build upon.
      Here's how the input field looks like in the page editor:

      Hope it can be of use to someone.
      If you like to give it a try, I'm happy to hear your comments or suggestions for improvement. Eventually this will go in the module directory soon, too.
    • By bernhard
      @Sergio asked about the pdf creation process in the showcase thread about my 360° feedback/survey tool and so I went ahead and set my little pdf helper module to public.
      Description from PW Weekly:
       
      Modules Directory: https://modules.processwire.com/modules/rock-pdf/
      Download & Docs: https://github.com/BernhardBaumrock/RockPDF
       
      You can combine it easily with RockReplacer: 
      See also a little showcase of the RockPdf module in this thread:
       
    • By ukyo
      FieldtypeFontIconPicker
      Supported Icon Libraries
      FontAwesome 4.7.0 Uikit 3.0.34 IonicIcons 2.0.1 Cahangelog
      NOTE: Module store data without prefix, you need to add "prefix" when you want to show your icon on front-end, because some of front-end frameworks using font-awesome with different "prefix".
      Module will search site/modules/**/configs/IconPicker.*.php and site/templates/IconPicker.*.php paths for FieldtypeFontIconPicker config files.
      All config files need to return a PHP ARRAY like examples.
      Example config file : create your own icon set.
      File location is site/configs/IconPicker.example.php
      <?php namespace ProcessWire; /** * IconPicker : Custom Icons */ return [ "name" => "my-custom-icons", "title" => "My Custom Icon Set", "version" => "1.0.0", "styles" => array( wire("config")->urls->templates . "dist/css/my-custom-icons.css" ), "scripts" => array( wire("config")->urls->templates . "dist/js/my-custom-icons.js" ), "categorized" => true, "attributes" => array(), "icons" => array( "brand-icons" => array( "title" => "Brand Icons", "icons" => array( "google", "facebook", "twitter", "instagram" ) ), "flag-icons" => array( "title" => "Flag Icons", "icons" => array( "tr", "gb", "us", "it", "de", "nl", "fr" ) ) ) ]; Example config file : use existing and extend it.
      File location is site/configs/IconPicker.altivebir.php
      <?php namespace ProcessWire; /** * IconPicker : Existing & Extend */ $resource = include wire("config")->paths->siteModules . "FieldtypeFontIconPicker/configs/IconPicker.uikit.php"; $url = wire("config")->urls->templates . "dist"; $resource["scripts"] = array_merge($resource["scripts"], ["{$url}/js/Altivebir.Icon.min.js"]); $resource["icons"]["flag-icons"] = [ "title" => "Flag Icons", "icons" => array("tr", "en", "fr", "us", "it", "de") ]; $resource["icons"]["brand-icons"]["icons"] = array_merge($resource["icons"]["brand-icons"]["icons"], array( "altivebir" )); return $resource; After you add your custom config file, you will see your config file on library select box. Library Title (Location Folder Name).

      If your library categorized and if you have categorized icons set like uikit and fontawesome libraries, you will have category limitation options per icon field or leave it empty for allow all categories (default).

      Example : output
      if ($icon = $page->get("iconField")) { echo "<i class='prefix-{$icon}' />"; } MarkupFontIconPicker Usage
      // MarkupFontIconPicker::render(YourIconField=string, Options=array) echo MarkupFontIconPicker::render($page->YourIconField, [ 'prefix' => 'uk-icon-', // Icon class prefix, if you have different prefix, default is : "fa fa-" 'tag' => 'span', // Icon tag default is : "i" 'class' => 'fa-lg', // If you have extra cutom classes, for example : icons sizes, Array or Sting value 'style' => 'your custom styles if you have' // Array or String Value ]); Theme support

      Search support

      Category support

       
×
×
  • Create New...