Jump to content

diogo

Moderators
  • Posts

    4,314
  • Joined

  • Last visited

  • Days Won

    80

Everything posted by diogo

  1. The secret is to adapt the selector to get all the pages in one go. Try this: $gp = $pages->get(1016); $children = $gp->children; $articles = $pages->get("parent={$children}, sort=title");
  2. :D just saw the footer on that website.
  3. These are nice: http://fixmy.pw/blog/why-we-love-processwire-cms-so-much-especially-after-working-with-crappy-joomla-wordpress-and-drupal-cmss/ http://fixmy.pw/blog/9-reasons-to-wave-wordpress-goodbye-and-shift-to-processwire/ I love the URL
  4. Thanks for telling, We will take this into account and think of making it more obvious. Good point. I made it fixed.
  5. Thanks for your comments! That's actually supposed to be a nice detail , hope it doesn't come across as a mistake a lot... Really? That would be an nice work
  6. Hi guys. We just launched our most recent work https://www.the-weekender.com/ This is a really nice and carefully crafted magazine! Worth buying, especially for German speakers -- The site is responsive as always, and prepared for two languages, although only German is available at the launching. And most importantly, this is our first Padloper powered web shop. Thanks Antii! Besides Padloper, we used Soma's color picker for the coloured backgrounds and the Multiplier Profield for all the listings. If you notice anything wrong in any browser, please tell. Suggestions are welcomed, as usual
  7. Sorry, not having much time to come to the forum lately. The official PT is not updated for a long time already, would be great if yo send me a pull request https://github.com/ocorreiododiogo/PW-lang-pt-PT
  8. Nice to hear from you again Luis. Best of luck for your new professional life! How's Karlsruhe?
  9. Didn't see that one from Adrian
  10. Welcome to the forum! There is a WP to PW migration tool. Have a look here https://github.com/NicoKnoll/MigratorWordpress and here https://github.com/adrianbj/ProcessMigrator
  11. They are both working, but you should definitely redirect one to the other. Either bare to www, or the other way around, just don't leave it like this.
  12. None of them works for me, but clearly the bare domain is redirecting to www. Do you have the NFS DNS? Have a read at their faq https://faq.nearlyfreespeech.net/section/domainnameservice/baredomain#baredomain
  13. You can install HipChat on your own server, might be a good option https://www.hipchat.com/server If not, I would really recommend telegram https://telegram.org/
  14. diogo

    Adminer

    What pwired said
  15. diogo

    Adminer

    Disregard this thread. I'm using adminer outside the admin now. They must have changed something in the code that made this trick not work anymore. Still prefer it to phpMyAdmin, though.
  16. I thought of this only for the frontend, really. Your first point is the main advantage for me. The second advantage is that, even if the site is not live, you don't have to decide a place on the page to output your tests, and you don't have to format the markup (for instance with <pre>) because everything will be output nicely in the console.
  17. Guys, here's a small trick to test things out on your sites: foreach($page->children as $p) { echo "<script>console.log('" . $p->title . "')</script>"; } Now open the console and enjoy For more power make sure to check Soma's Chrome PHP Logger --- Edit: Or put this simple function or your _init.php function JSlog($str) { echo "<script>console.log('" . $str . "')</script>"; } and on your templates JSlog($page->title);
  18. enddate<=2015-11-13|startdate<=2015-11-13 the OR operator "|" evaluates the first part and follows to the second only if the first is false. In this case the start day is never evaluated because it cannot possibly be true if the first is false. The start has to be earlier then the end. PS: True, I didn't even think that you are using OR between expression. Ryan to the rescue already
  19. Here's the same exact problem and solution for it http://stackoverflow.com/questions/13872892/htaccess-deny-requests-from-unauthorized-domains
  20. Check out Linode also. They have a datacenter in London and I'm very happy with them. edit: there is a managed solution.
  21. I wouldn't do it. Consider using children pages and a page table inside them. I've been having better feedback from editors when creating blocks of content with children than with PageTables
  22. Bernhard, I have on my todo list answering to this, but still couldn't have a proper look at it. Just to let you know.
  23. Great morning read, thanks for that And welcome to PW, you'll love it here.
  24. I love what you're doing here Adrian! It does raise some concerns, but I'm sure it's not too serious I think the children shouldn't be hidden for superuser, have you thought of that possibility? Would actually be nice if you could choose to which roles they will be hidden.
  25. I'm still not completely sure of what you're trying to do, can you please post here a step-by-step description of the whole process? For what I'm understanding now, you don't even need pages at all, only to send the email. If I'm understanding well, you don't even need to use the processwire resources for this, just build the HTML form, collect everything with PHP and send the email. Have a look here https://gist.github.com/webrf/ae5ebceade909fc760d0 Hope it helps
×
×
  • Create New...