Jump to content

kongondo

PW-Moderators
  • Posts

    7,529
  • Joined

  • Last visited

  • Days Won

    160

Everything posted by kongondo

  1. Great! This is where I make noise about Flutter. Would be nice to hear you talk about your experiences there ?
  2. @horst, Thanks for the write-up! If you possibly can, for newbies, could you please make a diagram/flow chart for the instructions? Or at least add more details please? For instance: Where should this be done? ? Where should this be done? What does the user need to enable and/or download? ? Etc. Thanks for considering.
  3. I meant File > Add Folder to Workspace but it seems you had this setup already. Ah. I see. In my case I always namespace my template files as well. In your case, it was looking for the function definitions in the global namespace, hence the error.
  4. I would also love to know if it is possible to get rid of on the 'intelephense' side of things. Other than that, it should go away if you add wire as a folder in the workspace.
  5. You forgot to include a link to your module ?
  6. I understand ?. Look at it this way (as a friend put it), I am pretty much building a Shopify!
  7. ...that Microsoft products are superior to Apple products ? ?. ...I'll crawl back under my rock now...
  8. Yes....but not sure exactly what you mean by foreseeable. ?
  9. This is the relative URL that @Jan Romero was referring to here: ? Welcome to the forums @Sabine
  10. CodePen support for Flutter https://medium.com/flutter/announcing-codepen-support-for-flutter-bb346406fe50
  11. @snck, Thanks for reporting back. I don't know much about SVGs, excuse my ignorance please. Was the issue the complexity of the files or the size of the files? I am guessing though that complex files would probably also be large in size. Thanks.
  12. @Gadgetto Moderator note: I have split this thread. It is advised to start new topics for questions that are not directly relevant to the existing topic. The new topic is here:
  13. ? I hope to do so, eventually. ------------- This (post above) was meant to be teaser before an announcement but I never got to that on time, so it seems to have backfired spectacularly ?. It seems that rather than waste time writing such teasers, I should be getting on with the job :-). So, here we go, just FYI. Padloper 2 will utilise Vue and Vuetify in the backend. I won't go into details why (at least for now). Just know that there were solid technical and practical reasons for this. This is not a request for comments :-), i.e. there is no going back on this. The main foundation of Padloper 2 remains the same; A native ProcessWire shop solution that is robust, secure and user friendly.
  14. A bug report was filed a week ago. Ryan will get to it and sort it out, I'm sure. Meanwhile, your choices are: Downgrade your ProcessWire version. Make the manual db column type change if you can live with it. Write a hook to convert the value before it is saved (using a period for decimals) and another hook for display (using comma for decimals) during render. If you really have to (usually not recommended), change the code in the core knowing full well this will be overwritten when you upgrade.
  15. I think this is your issue: Is the language set to Swedish on your site? Or, on this site, do you use commas for decimals?
  16. You need double quotes. If you had debug on, this would have thrown an exception: Change it to this: $items = $pages->find("template=items-ordered,supplier={$page->parent->title}");
  17. In that case then, in case you missed it, here's a new alternative way to do custom paths
  18. You can get the last item in a WireArray (a PageArray is a type of a WireArray, i.e. your subpages) using the method last(). https://processwire.com/api/ref/wire-array/last/ An example using last() // get some parent page // OR if this page: $page->children; $parent = $pages->get("id=1234"); $children = $parent->children; foreach($children as $child) { if($child->id === $children->last()->id){ // this is the last child // e.g, echo its title field echo $child->title; } } This is just one way to do it. Depending on your use case, you could also use a counter in the loop. Note though that if your 01 child is moved, it will obviously no longer be the last child :-).
  19. I can confirm this. Congratulations! you've found a bug :-). Please file a bug report here: https://github.com/processwire/processwire-issues/issues Read this first: https://github.com/processwire/processwire/issues/8
  20. Just confirming that you are not inadvertently checking this whilst still logged in (as a supersuser)? :-).
×
×
  • Create New...