Jump to content

Ivan Gretsky

Members
  • Posts

    1,510
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by Ivan Gretsky

  1. Hey, @JeevanisM! Seems to be the same question as here. Please be patient and do not doublepost. That would probably do more harm than good (to receive a nice and thorough answer).
  2. Hey, @JeevanisM! You use an Integer Field for the phone number. Maybe that field cannot store such a big number as 9446196667? Test it with a 123 to check. I guess you should store a phone number in some other field any way. Text would be ok (with some frontend and server validation). There are dedicated fields for this as well like this one.
  3. I guess you are referring to this. As far as I can tell from the Wikipedia article, there are different implementations of this and you probably need to be more specific about the one you need to use. Anyway I never heard of a ready-made ProcessWire module for this or a tutorial how to implement it. If there is some library that can be used out of the box, it is probably not so hard to do. I can imagine that Ryan could implement it for his FormBuilder as a paid add-on. I think it make sense to advise this route, because I've found JotForm have already done this and are offering widgets for their form builder. But that requires you to have some budget.
  4. I think it can. You need to install the extension on the remote to make it work.
  5. Super cool gallery, @MadeMyDay! Just like for @ottogal, that article about PW over MODX convinced me to try ProcessWire seriously. In those times there were not really much meaningful stuff about PW on the web, so we are probably not the only 2)) You made our yesterday too) Would love to see/read more from you here on the forums! P.S. What about that "rant against Joomla"? Where can we find it?
  6. Hey, @ngrmm! Check out this module by @Martijn Geerts. The description says it has css inliner built in.
  7. Thanks, @johndoe! The conversion did not work on my local xampp with some php 5.6, but did work on a live server. I can guess some requirements are not met on localhost. It would be nice to know those requirements, bit for now I know that I should try to keep the server environment as fresh as possible (which is a good thing anyway)))
  8. This one is converted to webp with black background by GD on my localhost. I tried another one it behaves the same way. Is there any requirements on GD version or php?
  9. A lot of (even shared) hosting providers nowadays use nginx for static. And you may have no control over which extensions they include. So renaming to .php could be more secure than doing .htaccess restrictions in some cases.
  10. Thanks @bernhard! I did try about the same tricks to make it work and ended up just doing exit(0);
  11. Yes, that is what I need to do. But in a function, where $this (which contains current template) is out of scope.
  12. Good evening (at least in my part of the world)! Is there a way to call halt() method from within a function in a template file?
  13. Yep) There is a link to process module that is broken "by default" if the process module is not installed. And I would guess most of the time users would expect an admin page to be in place after installation for such a module. Maybe reconsider and make it auto installed?
  14. Maybe not the direct answer to your question, but You can easilly enable/disable Tracy in config dependant on your $config->debug setting.
  15. Maybe edit the 1st post of this thread too?
  16. Thanks for your answers and for you generously shared work, @teppo! I really like your Wireframe idea - a well-established and documented way to structure code in ProcessWire MVC way. So one could follow rules that are thought out and described. I understand quite well that in order for this to work one should give up some of his own preferences) Will be looking forward to next additions to the project we've been talking about here.
  17. I can relate to that. But the thing is I often do not do my html/css/js myself and pretty often people with very little knowledge of php are to make minor changes to view code. That's why I try to have my markup as close to raw html as possible. And render functions are clearly the opposite. A am with you here. Entities should not be multiplied without necessity)) And that's why I do not quite like the placeholder thing. I think it should be that generic call for controller and view. And in this specific case sidebar usually is not tied to a particular template. So this thing seems "too opinionated" for me) I even think that the whole layout thing can be moved to view folder. I now think it is more clear to keep all the view related stuff in one place (though i did use dedicated layout folder in the past - now it is inside the view folder in my recent projects).
  18. As MVC is about separation of concerns, as you said a number of times yourself, @teppo, I think render functions are not so good here. Because a html/css is mixed too much with php. Logic and presentation together again) I was talking about something like described here, with dedicated controller and view. I looked through recent projects for examples of those partials. These are common ones: menus; breadcrumbs; sidebar; repeating forms (any repeating elements really, anything like wordpress widgets / joomla modules).
  19. Cool thing! Is there an easy way to include all the necessary fields (by name/type) from Repeater/RepeaterMatrix fields?
  20. Two more) How is it possible to separate logic for partials from their presentation? I often find the need to prepare content for partials same way as for the views. Do you have experience of using Wireframe with RepeaterMatrix based content?
  21. This time you came prepared, @teppo! Great intro post and a cool documentation site. Congratulations! I did not have time to dig into it (yet). The 1st question that comes to mind is can twig or some other templating language be plugged in for the views?
  22. I am not sure I quite understand your problem. But maybe this API reference can help? If not, feel free to explain yourself a little better?. Source code would be the best.
  23. Good evening here) Maybe this feature can help you to manage users with lots of custom fields. The frontend login should be managed with some custom code or a ready-made module like this one.
  24. Good day, community! Somehow this one was left unanswered since 2015! I have googled and found the question, but not the answer. Does anyone has a ready-made solution? I know that processwire.com has these, but they are probably added by ProCache.
  25. @franciccio-ITALIANO, is there a direct link to your site? Could you post it for testing?
×
×
  • Create New...