-
Posts
11,110 -
Joined
-
Last visited
-
Days Won
365
Everything posted by adrian
-
Hey @horst - now that Chrome (https://9to5google.com/2017/04/27/chrome-59-animated-png/) (and others) are supporting aPNGs have you looked into what is needed to support this in PW?
-
@incognito.ms - I just took a look into that notice and I have fixed it in the latest version - thanks for reporting!
-
Your module submitted fine and I have approved it, but please check your author details.
-
Thanks @rick for those screenshots. Unfortunately I am having trouble reproducing at the moment - the console panel is automatically adjusting its height to match the available viewport and the code and results windows are both scrollable and the window title bar is always visible. I assume you are running the latest version of Tracy? If you notice something specific that causes the title/header bar to be above the viewport, please let me know. In the meantime, I will keep an eye out myself, but as a heads up to you and everyone else here, I am going to be mostly offline for the next 2 months - it's going to be strange being away from PW and the forums for so long. Cheers, Adrian
-
Hi @incognito.ms - I am not sure why you are seeing that - I define the "showDebugBar" index here: https://github.com/adrianbj/TracyDebugger/blob/bf9ab88cc9d15e4f0ec06193c30873b7f15af54c/TracyDebugger.module#L150 Is this something that only happens with ProcessWire 3.0., or have you seen it with earlier versions as well? Fixed - see other reply further down. Hi @rick - it should already be scrollable, eg: Is the problem always present for you, or are there just some circumstances that cause it not to scroll?
-
My module (https://processwire.com/talk/topic/9496-restrict-tab-view/) mentioned above still works fine in PW 3 if that's helpful for you.
-
No problem - I'm used to it I am away next week, so it's now or not for a while. I have committed a quick update that should take care of Profields Textareas. Please let me know if you have any problems. I really need to revisit this action and add support for other field types as well - for example I haven't tested inside repeaters or page tables. I'll add this to my list, but might be a while.
-
It shouldn't be hard to support. When I set this action up I limited it to text and textarea fields, but it makes sense to expand to others - I just didn't have time to test it then. I'll see what I can do tomorrow to get this working for you.
-
Thank you both for getting to the bottom of this! @tpr - I did tweak your changes slightly to use "one" and "mouseover": $(document).one('mouseover', bce_adminDataTableSelector, function () { instead of "on" and "hover": $(document).on('hover', bce_adminDataTableSelector, function () { so that it's triggered only once. I know you had another check in there to see if the controls were already added, but I still think this an improvement. Do you see any issues with this change?
-
Ah yes - sorry I missed the importance of "View" - that definitely seems odd and a bug - do you agree @ryan ?
-
?s=1 has always been there, but yes, c=0 is new: https://github.com/processwire/processwire/commit/75a969bafbd95143013f015c3e726d82087cc68a#diff-18988bf581321686eb798ec4f657506fR1455
-
That's the key I have just pushed a new version which fixes the Position > Replace setting when there is a custom Children Tab label defined for the template (including multi-language labels). Could you please confirm that it fixes things at your end? I still don't know about the toggle all checkboxes - would really appreciate if you could do some debugging on this when you get a minute.
-
I'll let @tpr continue helping regarding the toggle checkboxes, but back to the issue of the default children list showing - I think it's due to this line: https://github.com/adrianbj/BatchChildEditor/blob/3e725f433382e87e2aec29fce52acde1e37cb829/BatchChildEditor.module#L366 I am testing via the label equaling "'Children / Subpages'", but probably because your admin is not in English it's failing. Trouble is right now I can't see another way to target this as the field object has no other useful data other than the label. Is there any chance you could confirm that this is problem by seeing if it works if you switch the admin to English?
-
Ah, right we are talking about different things regarding the "Replace mode". I am talking about Mode Settings > Modes which results in something like this. The fact that the default children list is still showing when you have the Position set to Replace is weird. I wonder if this is somewhere connected to the issue with the missing toggle all checkboxes. Regarding the console errors, I mean your browser dev console and not Tracy. I am wondering if there is a JS issue.
-
Sorry, not sure what you mean here - can you post a screenshot of that?
-
Any dev console errors?
-
Already there - thanks to @tpr Is that not showing for you? Another option is "Replace" mode - just CMD/CTRL + A, delete, and save.
-
CSS using nth-child - https://github.com/adrianbj/ProcessAdminActions/blob/746655c4c9506e6e4175d5f1d6771ee94fb39f40/ProcessAdminActions.css
-
I did this in my Admin Actions module. Take a look starting here: https://github.com/adrianbj/ProcessAdminActions/blob/746655c4c9506e6e4175d5f1d6771ee94fb39f40/ProcessAdminActions.module#L749
-
It is now - please check the latest version just committed. It now support ML subject and body fields and the user will receive the version associated with the language that you set in their profile. Let me know if you find any problems.
-
Sorry, I think you have misunderstood how this works. If you are using the "Specified Branch Parent" - that is where you select the branch that you want the user restricted to. The "Branch Edit Exclusions" are just for things like external PageTable branches etc that the user still needs edit access to, even though they are outside their restricted branch. Does that clear things up?
-
This module is for restricting users to a single branch of the page tree rather than hiding various ones throughout the entire tree. You'll need one of those other options for that. Maybe a module could be put together with more flexibility, but there are lots more issues when hiding specific pages.
-
@SamC - definitely use those methods for installing, but as an FYI, your issue did remind me that I used a poor approach to setting the paths to those resources which I just improved in 4.3.3, so thanks for the report.
-
The easiest way to install modules is to install by Class Name. That will ensure the directory name is correct. If a module isn't in the modules directory, you should use the URL (to the zip), or the Upload option. The old manual unzip and move to site/modules doesn't make any sense anymore.
-
Just to clarify the bd($json) issue in case you didn't realize what is going on there. You could dump the entire json string if you wanted by using bdl() - which is a shortcut for barDumpLive(), or you could specify bd($json, 'JSON, array('maxLength' => 877) which would make the string length displayed match the length of the actual string. Note the defaults for maxLength and maxDepth are configurable in the module config setting, but these can dramatically slow down rendering, so generally recommended to leave as is and supply in the bd() statement when you need to override. Regarding the console panel - please open your browser console and let us know if you have any errors there - looks like the JS isn't being loaded.