Robin S Posted April 9, 2017 Posted April 9, 2017 Hi @tpr, could you please add a "word-wrap: break-word" rule for the filename link when the 'no-truncate' option is on for File fields? See the screenshot below where filenames with underscore word separators do not wrap. Thanks. 2
Robin S Posted April 10, 2017 Posted April 10, 2017 @tpr, is it possible to have the ListerTweaks submodule activated (to get the benefits of the "Lister options" section) without the submodule interfering with the columns of the Find and Users lister? Even after emptying the "Users lister columns" it shows "DEFAULTS" and prevents columns being added within the columns tab of the Users lister itself. Could there be checkboxes to turn off the column options within AOS?
tpr Posted April 11, 2017 Author Posted April 11, 2017 On 4/2/2017 at 7:45 AM, Robin S said: $this->addHookAfter('Session::loginSuccess(roles=superuser)', null, function($event) { // Show system templates in templates list unless explicitly hidden $this->wire('session')->set('ProcessTemplateFilterSystem', 1); }); This wasn't too user-friendly to me as one should re-login to see the system templates in the templates list. Now I solved it by setting the session var to 1 if this tweak is enabled in AOS and the user is on the template list page. The session var is removed when saving AOS with this tweak unchecked. I see no issues with this approach but feel free to correct me if I'm missing something.
Robin S Posted April 12, 2017 Posted April 12, 2017 3 hours ago, tpr said: This wasn't too user-friendly to me as one should re-login to see the system templates in the templates list. Now I solved it by setting the session var to 1 if this tweak is enabled in AOS and the user is on the template list page. The session var is removed when saving AOS with this tweak unchecked. I see no issues with this approach but feel free to correct me if I'm missing something. If you force the session variable to 1 whenever the templates list is viewed then it makes the "Show systems templates?" filter toggle non-functional. But I suppose you could take the view that if that AOS option is selected then you never want to hide the system templates, even temporarily.
tpr Posted April 12, 2017 Author Posted April 12, 2017 I see and yes, my opinion is that if someone check this tweak in AOS he would like to have the system templates to be shown by default. Otoh when you're at the templates page and set "No" for system templates, system templates will not be shown because PW adds the url parameter "&system=0" which seemingly overrides AOS. Of course if you navigate elsewhere and go back to the templates page system templates will be back. But you can temporarily hide system templates. 1
tpr Posted April 27, 2017 Author Posted April 27, 2017 I still haven't released a new version but just added a new feature to set pagelist icons, similar to MarkInPageTree: 3
tpr Posted May 1, 2017 Author Posted May 1, 2017 v1.4.2 is up: new submodule: RestrictTreeDropdown (merging module of Robin S) new submodule: PageListIcons added "Force showing system templates" tweak to Misc (snippets and suggestion by Robin S) word-wrap issue fix for non-truncated file field names (suggested by Robin S) fix for templateEditLink on Page template selector if changing page template is disabled (see #40) fix for PageListThumbs not appearing if tree was initially collapsed I know that a few issues mentioned in this topic is remained, I'll check them later. 3
bernhard Posted May 3, 2017 Posted May 3, 2017 hi tpr, is it already possible to disable the datatable filter via adding a class like .no-aos-filter to a parent element? if yes, could you show me how (or where it is in the docs, i didn't find any information). if no, would you be willing to accept this as a feature request? i'm building some custom tables with my datatables module and your filterbox is interfering with my UI thank you
tpr Posted May 3, 2017 Author Posted May 3, 2017 No, there is no such feature I'm aware of But you can use custom css to make it hidden. If it's not suitable ti you, I'll consider adding something like $config->disableAosFilter. 1
tpr Posted May 7, 2017 Author Posted May 7, 2017 v1.4.3 is uploaded which contains a small bugfix to pagelistIcons plus a new feature to add CSS classes to the icon name, to be able to format with CSS if needed: https://github.com/rolandtoth/AdminOnSteroids/wiki#additional-class-names
ottogal Posted May 7, 2017 Posted May 7, 2017 Using PW 3.0.41, I made a successful upgrade of AOS from v0.1.5 to v1.4.3 via the backend; but the module's settings page continues showing v0.1.5. (Clearing the compiled files and refreshing doesn't help.) Edit: Logging out and in again helped. 1
dotnetic Posted May 14, 2017 Posted May 14, 2017 Hey @tpr, I am working on some modifications so that the quick-filter works with ProcessWire´s design philosophy. Right now I got it working for AdminThemeDefault and AdminThemeReno. I am working on AdminThemeUikit compability, which needs some markup modifications. I attached some actual screenshots (AdminThemeUikit is stilll work in progress, so not the final output). What do you think of these modifications? Are you interested in merging them if I create a pull request?
tpr Posted May 14, 2017 Author Posted May 14, 2017 I'm not against it but I also see no reason for change Anyway, I'm happy to test if you have a working version. As I remember there were some pages where the placement was tricky, but maybe you're also aware of these. Btw there are a few filterboxes: a "general" one for datatables, one for the Language Translator and one for File fields, are you covering them all?
theo Posted May 15, 2017 Posted May 15, 2017 Hello Thank you for AdminOnSteroids. Very helpful. However one problem: I was trying to load a "cke.js" using the preset path. On line 1025 of AdminOnSteroids.module, it is looking for this file in if (file_exists($rootPath . $ckeJS)) { However in my case, this would be (output of echo $rootPath . $ckeJS:) /home/theo/public_html/~theo/pw3061/site/templates/admin/cke.js Is this because I have a non root (mod_userdir) installation of PW? The file is loaded, if I set the path directly in the code before "file_exists" like: $configData['customCKEScript'] = $ckeJS; Thank you.
tpr Posted May 15, 2017 Author Posted May 15, 2017 It may be the "~" in the url (which seems to be a cPanel preview url).
theo Posted May 15, 2017 Posted May 15, 2017 1 hour ago, tpr said: It may be the "~" in the url (which seems to be a cPanel preview url). It is the way of "mod_userdir" https://httpd.apache.org/docs/2.4/mod/mod_userdir.html
tpr Posted May 15, 2017 Author Posted May 15, 2017 I see, I guess you need to use the custom (non-preset) path setting for ckeJs.
theo Posted May 15, 2017 Posted May 15, 2017 5 hours ago, tpr said: I see, I guess you need to use the custom (non-preset) path setting for ckeJs. Thank you, but I guess this won't work either, because it wants a path "relative to site root" and this ends up in the same problem afaics. Thanks for your time.
tpr Posted May 15, 2017 Author Posted May 15, 2017 Would it help if there would be a setting for a rootPath? (and rootUrl)
theo Posted May 15, 2017 Posted May 15, 2017 4 minutes ago, tpr said: Would it help if there would be a setting for a rootPath? (and rootUrl) Yes, I think so!
szabesz Posted May 16, 2017 Posted May 16, 2017 (edited) Hi @tpr AOS does not seem to support PageListThumbs on Tree pages higher than 1. Would it be problematic to support it on additional pages? Edit: see my next post. Edited May 16, 2017 by szabesz
szabesz Posted May 16, 2017 Posted May 16, 2017 Wow, things have changed! Now I get the thumbs on page 2 and they disappeared from page 1. Hmmm...
tpr Posted May 16, 2017 Author Posted May 16, 2017 You mean tree level 1 and 2? There were issues with the thumbs lately, make sure you're having the latest version. 1
szabesz Posted May 16, 2017 Posted May 16, 2017 1 hour ago, tpr said: You mean tree level 1 and 2? There were issues with the thumbs lately, make sure you're having the latest version. No, I meant pages of the ajax paginator. However, it was a false alarm as I forgot to update to the latest version, now it works, sorry for this! And thanks as always 1
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