Jump to content

diogo

Moderators
  • Posts

    4,296
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. Thanks ceberlin. I wrote on mobile and my answer came a bit short.
  2. Did you add the url name for each language on the homepage settings?
  3. Or check if Ace is installed, and if not add from a cdn http://cdnjs.com/libraries/ace/
  4. Greatly useful module guys, thanks! Just used it to provide a list of collected emails for simple copy/paste into send field return $page->children->implode(', ', 'email'); Couldn't get any simpler than this! PS: of course it would be great to have ACE on the code field like i Hanna Code
  5. mr-fan, do this with every hardcoded string, and people can start translating it __('string') If there are lots of repetitions, maybe it's interesting to follow the suggestions from here https://processwire.com/talk/topic/10447-using-translatable-strings-across-template-files/
  6. Powered by <a href="http://processwire.com">P<span class="no-mobile">rocess</span>W<span class="no-mobile">ire</span></a>
  7. Oops sorry, I had a get where it should be a find.
  8. 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");
  9. :D just saw the footer on that website.
  10. 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
  11. Thanks for telling, We will take this into account and think of making it more obvious. Good point. I made it fixed.
  12. 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
  13. 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
  14. 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
  15. Nice to hear from you again Luis. Best of luck for your new professional life! How's Karlsruhe?
  16. Didn't see that one from Adrian
  17. 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
  18. 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.
  19. 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
  20. 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/
  21. diogo

    Adminer

    What pwired said
  22. 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.
  23. 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.
  24. 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);
  25. 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
×
×
  • Create New...