-
Posts
10,896 -
Joined
-
Last visited
-
Days Won
348
Everything posted by adrian
-
Don't forget to check out the newish Favicon badge option if you haven't already - I find it very useful.
-
Hey @szabesz - turns out the svg icon issue was actually related to not having the fixed debug bar position option checked. I decided to remove this an optional, because the draggable version had other problems as well. I think this might also fix your issue with the scrollbar being on top of the debug bar as well. The hiding of the body when hiding the debug bar was related to the custom server type indicator. I have fixed this, although this means that now the indicator won't be hidden when the bar is hidden, but hopefully that is ok. One observation about your Tracy settings - you didn't have the db() and bdb() shortcuts checked - you may want those. Also, I have deleted your settings attachment in your previous post because it includes your email address ?
-
The other option might be to make use of the alternate user template approach outlined here: https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users
-
What about a repeater field on the User template? Or perhaps even a Profields Table field (if you have it).
-
@tpr - don't worry about the fixed header issue - maybe just remove the option unless you can get Ryan to change how the menus are built (although that seems unlikely).
-
@szabesz - thanks for those files - the svg size and hiding of body problems are coming from the server type indicator feature - specifically the "Custom - control with CSS" option. I'll try to fix shortly. Not sure about the bar being under the scrollbar - I still don't see that, but at least the other problems are figured out ?
-
Or you can force development mode for superusers. I guess Devilbox is preventing DETECT mode from determining whether you're on localhost or not.
-
@happywire - could you please look at the Network tab in the browser dev tools and monitor it for the file that is called via ajax that uploads the image. Could you check the response tab and see if there is an error appearing when Tracy is installed? Maybe also try Tracy in Strict Mode (button the Panel selector) and see if that helps / shows an error.
-
@tpr and @matjazp - I just converted one of my ProcessWire log files to Windows 1252 and I still had no problems with the panel - it was successfully json encoded and saved to the wireCache. I'm not sure how to proceed from here - any thoughts?
-
Thanks for the extra details @szabesz - unfortunately I still can't reproduce. Could you please try deleting your browser LocalStorage - maybe that is affecting the position under the scrollbar. Could you also send me your Tracy settings. You can use my ModuleSettingsImportExport module to make that easy. Regarding the SVG icon issue - does this occur both backend and frontend? Just wondering if maybe there is some frontend css (or custom backend css for that matter) that might be interfering.
-
What do you think about doing a mb_convert_encoding($str, "UTF-8", "Windows-1252"); before the json_encode. I guess we can't be certain it's Windows-1252 but it seems most likely and would maybe be a cleaner solution? Actually is it more likely 1252 or 1250 - most of my quick reading seems to refer to 1252.
-
@tpr - while we're at it, I am been having issues with page scrolling - when there are lots of fields or templates such that the dropdown menu extends beyond the viewport height, AOS prevents me from scrolling the page to access those items towards the bottom of the list. It is due to the UiKit sticky header setting.
-
@MilenKo - I have been seeing this since December: https://processwire.com/talk/topic/13389-adminonsteroids/?do=findComment&comment=177670
-
@matjazp - thanks for helping to figure that out. I think this error was introduced when I added caching to the two logs panels - wireCache json encodes content for storing. Do you think the fix you provided for the Terminal panel for converting unknown characters to "?" would also work in this case? Obviously the mysql error change would also work, but I don't want everyone to have to do that. @szabesz - I haven't seen any of these issues. Is it browser specific, or any chance the scrollbar issue could be related to this: https://processwire.com/talk/topic/13389-adminonsteroids/?do=findComment&comment=179123 or something else in AOS?
-
Thanks @Robin S - that's a really handy addition for my needs - hopefully others will enjoy also!
- 79 replies
-
- 2
-
- breadcrumbs
- admin
-
(and 2 more)
Tagged with:
-
Publish New Pages by Default in Admin Interface
adrian replied to SwimToWin's topic in General Support
Putting this in your ready.php or admin.php should do it. You may want to add additional checks for admin only (not via API). $this->addHookAfter('Pages::added', function($event) { $p = $event->arguments[0]; $p->removeStatus('unpublished'); $p->save(); }); But, @Autofahrn has some excellent points about publishing a page which doesn't have any content other than the title, so use this with caution! -
@Robin S - would you be willing to add support for User pages (ProcessUser) as well please?
- 79 replies
-
- 1
-
- breadcrumbs
- admin
-
(and 2 more)
Tagged with:
-
@nbcommunication - just wanted to say a big thanks for this new version - what are your plans to get this into the modules directory?
-
Hey @bernhard - no rush, but @matjazp took care of some Windows / UTF8 issues which I have committed. I still can't replicate your layout problems, but when you get a minute it would be great if you could help to narrow down what might be causing the issues at your end. Thanks! Also, did my explanation help to alleviate your security concerns? If not, let me know what still concerns you and I'll address it.
-
Just in case it's helpful, this is what I do for Tracy - anything that is defined in the $config->tracy() array overwrites the settings stored in the DB. https://github.com/adrianbj/TracyDebugger/blob/3f1fb2cf0016b8b27cc1019f47e58bce8e2cbd3d/TracyDebugger.module.php#L322-L325
-
Ok, change is committed - @jmartsch let us know how it goes for you also please.
-
That seems to work well for me also. Are you happy for me to commit that change to Tracy yet, or do you want to wait?
-
Yeah, I think that was an accident by @bbeer
-
-
If you want proper 503 maintenance mode headers sent, then use: http://modules.processwire.com/modules/protected-mode/