Jump to content

SiNNuT

PW-Moderators
  • Posts

    1,011
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by SiNNuT

  1. You can also use wirecache or markupcache to remedy possible performance issues.
  2. Will this do the trick? https://processwire-recipes.com/recipes/activate-all-languages/
  3. Just skimming this thread quickly but wanted to point to the html5 boilerplate htaccess which has some pretty robust stuff for supressing/forcing www and https. These have always worked for me on a variety of hosts. https://github.com/h5bp/server-configs-apache/blob/master/dist/.htaccess
  4. I don't want to sound too defensive here but PW gets a pretty decent amount of usage, from 'simple' sites to things quite more complex. If it were to break down often after performing common actions i don't think it would still have such a sizable following. In fact, i would say that PW is pretty damn stable. I understand that the admin becoming inaccessible is a frustrating and undesired experience but is has been addressed in more recent versions. I think you're a little quick in doubting the quality of PW's development.
  5. I could have sworn that i've once seen something like this floating around the forum. I think it was a textformatter that autmates toc and is used on the PW sites for blog posts and such. Can't find it though
  6. I'm not quite clear what you mean but maybe these are some solutions: (first) child redirect: here and here (menu) item that links to another page: here
  7. @AndZyk Compass and Autoprefixer don't do exactly the same thing.
  8. QGIS, a really great and capable free, open-source gis software. Plugins available to make some quick and easy webmaps. Inkscape, definitely not flawless but as far as free vector graphics progs go, it is hard to beat.
  9. @szabesz , moved to Dev Talk as suggested
  10. SiNNuT

    Padloper showcase

    Nice site MuchDev. Only checked it out on smartphone and noticed a couple things: - there is a small horizontal scroll on the site - the cart is a bit off with margins/padding, stuff coming up to the edges etc. - when adding some items the cart counter in the menu does not update Unfortunately i can't do screenshots atm but it might be worth checking things out on smartphone / small screens. Used an xperia z, chrome and android 5.1.1
  11. As horst explained a lot (most?) of modules will work just fine on, even if compatibility is not yet explicitly listed. But most of all: a lot of new stuff and upgrades have gone into PW3, starting from https://processwire.com/blog/posts/processwire-2.6.20-and-surprise-processwire-3.0-alpha-1/ and basically every following blog post.
  12. You can probably find enough on xdebug with Google. It's a debugger/profiler for PHP and not unique to ProcessWire. Reading this thread will give enough info i guess. If you don't use xdebug you can turn it off altogether or adjust the setting LostKobrakai mentioned in php.ini
  13. Thanks for sharing! Valitron seems like a nice library to have in the toolbox. One question: Is it necessary to define the namespace twice in contact.php?
  14. @giannisok i've went ahead and split your post into a new topic over here: https://processwire.com/talk/topic/14206-contact-form-tutorial/ Because your form is not really a module/plugin i thought it best to move it to the tutorials section. Let me know if this is okay.
  15. Never been in the position but indeed it would be great to hire Ryan to do some cool stuff.
  16. It's possible that i'm not totally up to date but i don't think ImportPagesCSV is working in the latest PW versions.
  17. Not quite. Datetime fields are actually stored as MySQL datetime fields in the db. For the wakeupValue this always gets converted from 'Y-m-d H:i:s' string to timestamp via strtotime. Once you save the field the timestamp is converted to 'Y-m-d H:i:s' and stored in the db.
  18. Haven't tried myself but you could see if this is something you could use: http://processwire.com/blog/posts/processwire-3.0.21-and-2.8.21/#multi-language-toggle
  19. In MySQL NULLs are considered lower than any non-NULL value. So if you order ASC then NULLS come first. To change this you would use maybe something like this in MySQL: ORDER BY ISNULL(yourfield) ASC, yourfield ASC; But i don't think ISNULL is somehow implemented in PW's selector engine sorting. I've never needed this myself but maybe it's worthwhile to add this. A very ugly workaround could be to set the 'no date' items to a date of let's say 31-12-9999. I think a second find for empty items and appending them to the original PageArray wouldn't hurt too much either. You could compare performance against solutions like Wanze's.
  20. If you look in the settings for your particular integer field (cruise_spaces) there should be an option to set how '0' values are treated. If you take the option that 0 and blank are not the same i think it will solve your problem. Setup->Fields->Edit Field: cruise_spaces Under the 'Details' tab
×
×
  • Create New...