Jump to content

adrian

PW-Moderators
  • Posts

    10,912
  • Joined

  • Last visited

  • Days Won

    349

Everything posted by adrian

  1. @spercy16 - if I recall correctly, the URL has to be inside <p></p> tags. I don't really know what Ryan wrote the regex this way, but it means your text field must be HTML and not plain text.
  2. @cmscritic - do you mind that it's impossible to access you site's footer on the homepage? The live loading of new posts makes it impossible ?
  3. Hi Rudy - it's fixed in the latest version.
  4. Sorry about @Kiwi Chris - I didn't consider that on initial user creation, extra roles won't have been checked yet. I have removed that profile-edit requirement to show the email field, although I added a showIf check to make sure at least one additional role (not just guest) has been checked. After all, if we're going to email someone their password, they need to be able to edit their profile to change it. Let me know if this version seems OK to you.
  5. Hi @rick - based on the error, it looks like your setup doesn't have the mb_strlen available and I am using the AdminerJsonPreview plugin in Tracy's Adminer setup. If you install mbstring for php it will be fine. Something like this, depending on your flavor of linux: sudo apt install php7.x-mbstring
  6. Hi @sww - I really don't know what the issue might be. I would need to start debugging the steps in the module to see where / why it's not showing the login form. Can you try to investigate? If not, if you PM me login details for the site, I'd be happy to take a look.
  7. Hey @Macrura - looks like you've upgraded from a very old version. Please just save the module settings page and it will be gone.
  8. @Peter Knight - the issue is that since you last upgraded, I added a .php extension to the .module file and ProcessWire doesn't like this because its caching system is remembering the old version. I have seen this many times and it's never prevented access to the admin, so never worried about it too much. You could remove the TracyDebugger folder from site/modules and see if that lets the admin load. You could clear the site/assets/cache/FileCompiler folder. You could remove the TracyDebugger entry from the modules DB table. One or all of those should / might work ?
  9. @Peter Knight - just do a modules refresh and it will fix it.
  10. I think that is actually the approach I've used in the past as well!
  11. The API for this is kinda ugly but it works. Where "3" is the number (in order) of the subfield / column you are looking for.
  12. I think it might be because you are extending InputfieldPageTable rather than Wire or WireData. Sorry, I have to run now, but maybe that will get you on the right track. Usually with a custom inputfield you just need a css file named to match the class of the module and it will be automatically loaded, eg InputfieldPageTableExtendedGrid.css
  13. What I posted above should allow you to do that. Did you try?
  14. Try this: $this->wire()->addHook('ProcessWire::ready', function($event) { $event->page->addHookAfter('render', function($event) { $value = $event->return; // Return Content $style = "<style type='text/css'>". $this->pages->get((int) wire('input')->get('id'))->style ."</style>"; // Add Style inside bottom head $event->return = str_replace("</head>", "\n\t$style</head>", $value); // Return All Changes }); }); inside your module's init() method.
  15. @bernhard - good idea. Fixed in the latest version.
  16. Is it a publicly available module? If so, it would be good to know which one.
  17. How can you move on at the moment - I thought your sites were still broken?
  18. Local dev is 161 (actually just updated to today's commits). At the moment, the live sites vary between 156 and 160.
  19. What I can't fathom is that you uninstalled Tracy and it's still a problem. It suggests to me that it's not Tracy related. I am running the latest version on several different sites and different servers without any problems. This sounds like the likely issue - I know you said you put the old versions of the templates back and they are still broken, but with Tracy uninstalled and its folder removed, it can't be impacting things anymore. Any chance you accidentally messed with the htaccess file?
  20. I've replied on your other post about this - please try to keep things in one place ?
  21. Hi @gornycreative - sorry you're have a rough time with this. Did you properly uninstall 4.21.19, or did you just remove the files? I know you said you aren't getting any errors, but are you talking about PHP errors only? Does the browser dev console show any JS errors? What about errors in the apache logs? Have you done a modules refresh and clear session & cookies from the Processwire Info panel in Tracy? Do the sites work in a different browser / incognito window?
  22. Is it only when using field templates, or is the trimming happening on a textarea field and as such would happen even if you output it directly? If so, take a look at this issue (https://github.com/processwire/processwire-issues/issues/459) and the noTrim option.
  23. Not certain, but it sounds like it hasn't made it in yet - sorry, I forgot that feature wasn't in yet.
  24. You create the user and then follow the instructions in this post https://processwire.com/blog/posts/pw-3.0.159/ which explains how to force the user to set up 2FA themselves.
×
×
  • Create New...