Jump to content

diogo

Moderators
  • Posts

    4,296
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. This takes me back a few years https://processwire.com/talk/topic/1358-repeater-inside-itself/
  2. Fresh from the oven!! http://www.cloudways.com/blog/processwire-ryan-cramer-interview/ Now I will read it Edit: Already did. Congratulations for another great interview Ryan!
  3. Did I forget something important? https://www.producthunt.com/tech/processwire#comment-223024
  4. Good news! We were chosen by the product hunt team to be featured in their permanent list, and we are now on their homepage with the other tech products of today Any of you has a nice animated gif that shows the admin? Would be great for showing off!
  5. I'm completely lost here. Reading what?
  6. Thanks for going through all that effort guys! Yep, the same happens all the time to me with facebook.
  7. I posted this here https://processwire.com/talk/topic/11998-growing-processwire-in-2016/?p=111884 but I thought it would be better to open a new thread to catch the attention of more people. Today I submitted PW to Product Hunt. https://www.producthunt.com/tech/processwire This is a site with great exposure, but only if PW gets featured on the homepage. For this it has to be reviewed by the Product Hunt team and one of the most important factors is the number of upvotes. So, what are you waiting for? Why are you still here? Edit: If anyone would like to suggest different pictures for the header and thumbnail, go ahead.
  8. So, some days later I'm the one who has submission powers in product hunt. They just sent me an invite And... here it is! https://www.producthunt.com/tech/processwire PS: You don't need an invite to register and upvote, and we need those upvotes to appear on the homepage
  9. If someone has a submission power in product hunt, now is the time to talk
  10. I made a module for this sometime ago https://github.com/ocorreiododiogo/ProcessHomeAdmin Should still work.
  11. They are beautiful, both, the new repeaters and the matrix. Beautiful!!
  12. What about: foreach($page->rootParent->children as $writer) {
  13. If I understand well, you want to have a dropdown for each user. If so, you could do this: foreach($pages->get("/articles/")->children as $writer) { echo "<ul>"; // your dropdowns are lists, right? foreach($child as $article) { echo "<li><a href='{$child->url}'>{$child->title}</a></li>"; } echo "</ul>"; }
  14. @flydev are you sure you want to have an unfinished site as your signature? Although the domain is pretty cool
  15. I don't have an answer to this question, but I suspect it has to do with the very nature of PW that attracts people that are more focused on work and GTD and less worried about social media. At least I like to think that's the reason
  16. After some puzzeling you found out how to do a navigation with PW https://github.com/ryancramerdesign/ProcessWire/blob/dev/site-beginner/templates/_head.php#L28
  17. Did you consider animating the scroll with something like this http://plugins.compzets.com/animatescroll ? I think it actually makes it more obvious what's happening when navigating the single page.
  18. I hope the products were nice Really? That's crazy! Last night was when we were finishing this, maybe there was some telepathic transmission On the other side, this is a much smaller download than a video. And it's responsive. Right!
  19. There's no include() function in javascript. This is what you want: <script src="<?php echo $config->urls->templates?>assets/js/jquery.easing.1.3.js"></script> <script src="<?php echo $config->urls->templates?>assets/js/script.js"></script>
  20. Hey Guys, just wanted to wish happy holidays to all of you from Erika and me! ...and also share a small animation we did to celebrate the occasion: http://ed-works.com/christmas2015/ (this is pure CSS, there's no JS involved)
  21. Try it out and let the error message tell you
  22. Glad I helped. I meant the most common way of writing loops in PHP. Using this same example: <?php foreach($page->children as $child) { foreach($child->images as $image) { echo $image->url; } } The for you used is common for when you are mixing PHP and HTML. Like this: <?php foreach($page->children as $child): ?> <article> <h2>Images from page: <?=$child->title?></h2> <div class="images"> <?php foreach($child->images as $image): ?> <img src="<?=$image->url?>" /> <?php endforeach ?> </div> </article> <?php endforeach ?>
  23. Try: <?php foreach($page->children as $child): foreach($child->images as $image): echo $image->url; endforeach; endforeach; ?> I kept the code similar to what you had so you understand the differences, but way of writing PHP is more suitable if you want to alternate PHP and direct HTML. For a simple echo it's better to just use brackets. I'm actually surprised that you don't get a PHP error with that code
×
×
  • Create New...