-
Posts
6,629 -
Joined
-
Last visited
-
Days Won
358
Everything posted by bernhard
-
Enabled https for localhost, now I can't turn it off :(
bernhard replied to OrganizedFellow's topic in Dev Talk
sometimes it helps to add ?v=whatsoever to your HTTP url; edit: sorry, didn't see you're using gulp -
Hi @spiroue and welcome, will this be a public website or will all your clients have a login? If yes, you might consider developing a lot in the backend: https://processwire.com/blog/posts/building-custom-admin-pages-with-process-modules/ Easy with the core field: https://modules.processwire.com/modules/inputfield-page-autocomplete/ (just install it with one click in the backend) You can do all kinds of custom logic quite easily (depending on your skills) via hooks: https://processwire.com/docs/modules/hooks/ PS: Ther's also @kongondo's great tutorial:
-
it's even worse on the notifications tab:
-
I've also experienced strange behaviour from time to time. Not sure what was the reason. Most of the time I think it's me and don't investigate further ?
- 246 replies
-
- visual studio code
- vsc
-
(and 2 more)
Tagged with:
-
Just tried and it's working here: Maybe a namespace issue?
- 246 replies
-
- 1
-
-
- visual studio code
- vsc
-
(and 2 more)
Tagged with:
-
It seems to be working, but in panel mode it's not really usable... The problem also occurs on the ProcessModule's page when I have more content than available screen space. I tried it on linux and it seems to have similar effects (eg when hitting TAB to list available directories on cd foo/bar/... But I'm not keen on this new feature. When I need a terminal, then well... I open one. Most of the time from within my IDE via ssh. I don't see a benefit of using it via tracy - but maybe that's because I don't really like working in the terminal in general ? And I'm a little worried about security aspects... even if I don't have any idea how all that new console feature works. Just saying that if I don't need this feature I'm not really happy to have it there. I uninstalled the process module, but still... the code is somewhere on the server. Maybe you can tell us a bit to make me feel more comfortable ?
-
wow!! new design for the forum, great!! ? Avatars are also squeezed in the latest topics links:
-
I get different results: So for me the logical was the fastest ? Second try:
-
I'd also place a bd('render was called') directly in the core's render function to see if it gets executed. Or a die('render') there, whatever you want. Just to make sure the method is actually called (similar to what BitPoet said).
-
Thank you all for this little lesson ?
-
Preview/Discussion: RockDataTables
bernhard replied to bernhard's topic in Module/Plugin Development
Found this by coincidence today, because they also have a great (looking) calendar library and all MIT and well documented: https://ui.toast.com/tui-chart/ I created a new thread for discussion: -
Hi everybody, just found this one today by coincidence and it looks quite great: https://ui.toast.com/tui-chart/ Has anybody of you ever tried it? Even with nice export features! ? AND: Convert HTML Tables to charts: https://github.com/nhnent/tui.chart/blob/master/docs/wiki/import-chart-data-from-existing-table-element.md
-
PS: Maybe you want to look at this example: ?
-
Hi Brian, I wrote a tutorial about this some time ago: It's not complete and building Fieldtypes is not that easy... One important note: "Fieldtype" = the field, including all logic to save the value to the database, store it, etc "Inputfield" = the inputfield that is shown to the user (the UI) Often it is easier to modify an existing Inputfield or extend/modify one via hooks. You can see my first module for an example: Don't have more time right now, but maybe this already helps a little ?
-
Thx, seems I missed that ?
-
[SOLVED] Default Multi-language Install Not Working
bernhard replied to happywire's topic in Getting Started
Sounds like a good plan ? I guess you already read about https://processwire.com/store/pro-cache/ ? ? -
Moving page parent via API resulting in Redirect Error on front end
bernhard replied to NikNak's topic in General Support
Maybe an extension like this can also help: https://chrome.google.com/webstore/detail/redirect-path/aomidfkchockcldhbkggjokdkkebmdll -
Gutenberg For ProcessWire ?!
bernhard replied to Mustafa-Online's topic in Module/Plugin Development
I don't think that implementing another framework would be the way to go. I think we already have a great framework for editing our content: ProcessWire (the backend, meaning ProcessPageEdit). We have a great ecosystem with our fieldtypes and inputfields. It would take huge effort to rebuild all this on another framework (like grapejs). My approach would be to keep all blocks as pages with all the benefits we get from it (setting templates, having access control, etc). Those blocks could easily be edited right away in the backend, as they are pages. Just append ?modal=1 and you have exactly what you need: A UI to edit your block. No extra work, no breaking updates etc. Repeater and Repeater Matrix already show that this is possible. It would just need a new inputfield where we can drag&drop, copy, remove, create those blocks. @joshuag and @elabx have already shown that this kind of magic can be done in the pw backend: https://processwire.com/talk/topic/19557-designme-visually-layout-your-edit-screens-preview/ @joshuag and @elabx which library are you using for this drag&drop magic and also for the side panel? -
Thank you Ryan for this information! What about all the open PR's? There are at the moment 50 of them open, some going back to 2016... Could @netcarver maybe also have an eye on them? Or do you prefer that we report feature requests also via the issues repository? thx ? PS: @kongondo recently shared how vscode integrates with pull requests. Don't know how PHPStorm handles this, but maybe VSCode can help checking all those open PRs:
-
I think this should be ->templates . 'inc because all paths should already have a trailing slash whereas __DIR__ does not have one. But I guess your example should also work ?
-
Sure, it's this rule of my frontend template:
-
Hey Adrian, --- SOLVED --- I have this code that returns an unexpected result. I don't know if that's related to tracy, so I apologize if it is not... I'm developing a module. $rc->step is a shopping cart step object and it is possible to attach forms to it. $step->forms is a WireArray. I add the form "test" to this WireArray but when I dump it, it shows just the name of the Form, whereas when I dump the single item via $step->forms->first() I get what I expect (an InputfieldForm object). On the "Full Object" tab the output is also as I'd expect it to be: I guess that's totally normal but I'd like to understand what's going on and why the form shows up as string in the Debug Info Tab, thx! Edit: Ok sorry for this post, but it might also be interesting for somebody else. The debuginfo returns the id or classname of any WireData objects: https://github.com/processwire/processwire/blob/master/wire/core/WireArray.php#L2442-L2446
-
Hi Robin, thx ? I think it would be nice to also list this sanitizer in the testAll() result, so I created a PR for it: https://github.com/Toutouwai/SanitizerTransliterate/pull/2 . Unfortunately this needs a fix in the core, so I also added a PR for this: https://github.com/processwire/processwire/pull/137 .
- 8 replies
-
- 4
-
-
- transliterate
- module
-
(and 1 more)
Tagged with:
-
[SOLVED] Default Multi-language Install Not Working
bernhard replied to happywire's topic in Getting Started
You could also try https://laragon.org/ instead of the devilbox. It's super easy and you would then know if the problem is the dev setup or something else.