Jump to content

bernhard

Members
  • Posts

    6,629
  • Joined

  • Last visited

  • Days Won

    358

Everything posted by bernhard

  1. Hi happywire, You should not have to change anything for multi-language-support on your system. Did you follow the instructions here exactly? https://processwire.com/docs/multi-language-support/multi-language-urls/ Last but not least: Welcome to PW and the forum ?
  2. Thx, I'll do so ? Links are still working for me and I'm using them a lot ?
  3. Yes, they are ? @Autofahrn this might also be a hint for you ?
  4. Hey @adrian, would it be possible to make those logs linked to the file + line just like it is in the debug bar? It would be great to not only see the log of the call stack but also just click on the line and jump there in your IDE. Or is this a feature request for the tracy core and should be addressed to nette? thx
  5. Thx @kongondo! I was close, but didn't find it ?
  6. Hi everybody! PW somehow bypasses calls to a property of an object to an existing method with the same name. I think I read that some time ago but can't find the place in the code where this magic happens. Thx for your help ?
  7. Closed this issue. I think Robin you are right with your variable assignment explanation ? THX!
  8. No ? I could, but I think this should be the case by default and wanted to hear your opinions about that.
  9. Hm... I thought when showing only one field on the page edit screen ( /page/edit/?id=123&field=yourfield ) it should display only this field after pagesave as well?! What do you think? At the moment when I save the page I'm redirected to the page edit screen showing ALL fields, not only the one that I requested initially. Shouldn't the page edit screen remember which field was shown and then only show this field after the page save? If you confirm this issue I'll post it on github, thx.
  10. This should be quite easy using the bootstrapping feature of PW: https://processwire.com/docs/front-end/include/ Oops, wrong keyword, actually I wanted to link to multi-instance use of pw like @kongondo does in the next post ? You could then grab data from one install and show it on the other instance wherever you want. Yes, for bootstrapping multi-instance that's a good thing ?
  11. Or to reduce the chance of wrong user input you could leave the three fields visible and hide the title field which you could then populate via hook
  12. Hi @gerrmen and welcome, did you read the docs about url segments? https://processwire.com/docs/front-end/how-to-use-url-segments/ Seems like this could be what you are looking for.
  13. Hi @SamC, really nice project! I've just stumbled over your admin theme tutorial: https://www.pwtuts.com/processwire-tutorials/making-a-custom-admin-theme-using-uikit-3-and-the-included-build-tools/ This is not true any more ? Maybe you want to update this tutorial?
  14. @Zeka if you find time it would be great if you could write a little showcase/tutorial of this panel in the tracy thread ? Maybe Adrian could also use it for the docs... Everything is there already: https://adrianbj.github.io/TracyDebugger/#/debug-bar?id=request-logger ? Thx for the great work @Adrian!
  15. That would be fun to build! ? If only I had time for it...
  16. See tracy's Request Logger Panel
  17. date('d/m/Y', $page->latestSubscription()->subsEndDate) // change this date('d/m/Y', $page->latestSubscription()->getUnformatted('subsEndDate')) // to this
  18. PW is built to scale and there are some reports of projects with millions of pages: Though there might be situations where YOU need to know what you are doing. For example if you add some custom hooks that run on each pagesave and do not work efficiently you might run into problems. But you can also use PW with custom DB tables and custom SQL queries, so you can do anything that PHP/Mysql can handle ?
  19. Yes. You can easily check that with tracy debugger: // ready.php $wire->addHook("Page::foo", function(Hookevent $event) { bd("foo was fired!"); }); You will not see any dumps of "foo was fired!" unless you explicitly call it somewhere else, eg $page->foo() in one of your templates.
  20. Adding the hook like you did is perfectly fine. The problem must be in your head.inc that most likely calls the ipapiGetUserLocation() on every page load +1
  21. I'm not sure though if that's a good idea. Usually I wouldn't touch the /wire folder at all. All site-specific things would go into the /site folder. I think it should also work to include your modules in /site/modules
  22. @adrian his screenshots look like he's already using symlinks, that's why I asked for more details ?
  23. Hi @Melvin Suter and welcome to the forum, Your setup should definitely be possible. When and where exactly do you get this error? What are you trying to do at this moment? An installation of a fresh copy of PW?
  24. Hey @Steve_Stifler, since you are new and asking lots of "is there a module for..." questions in the last days I think you might not have a solid understanding of what PW is and how PW works so far. I mean, asking is perfectly fine, but working with PW means working with HTML/CSS/JS in the first place and not - as you might know it from other systems - installing plugin X and plugin Y and plugin Z. PW is something more developer orientated. Something that someone might call "Framework" or "Headless CMS". PW makes it easy for you (and your users/clients) to have a solid, secure and flexible place to store various types of content and manage it. It also makes it easy for you to DISPLAY this content on the frontend. BUT - different to many other cms'es - does not dictate how you do that. You could output your data as HTML page (of course), but you could also output it as JSON, PDF, RSS, chart etc... That's why there are only very few modules that are related to the frontend of your site (the cookie banner module comes to my mind). It's totally up to you how you present your content and what frameworks you choose (CSS/JS). If you are looking for a system that has (=needs) a plugin for everything, PW might not be the best fit. If you are willing to learn and take the next step from using plugins for everything to writing your own code snippets you'll get lots of help here.
  25. Servus @dragan, I didn't deactivate any features of mPDF as far as I can remember. Can you try to set those settings via $pdf->settings([ yoursettingsarray ]) ? This is done on init() and can also be done manually: https://gitlab.com/baumrock/RockPdf/blob/master/RockPdf.module.php#L22
×
×
  • Create New...