Jump to content

diogo

Moderators
  • Posts

    4,296
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. I quickly created a grey color scheme for the new theme for all the color haters out there https://github.com/ocorreiododiogo/pw_grey_colors
  2. You shouldn't, if you look in the forums for Willy's post, you will see how many important things he wrote already. And wouldn't be even half of the fun if it wouldn't be in Yoda language
  3. No offense intended. I read all your post and and respect it a lot. I just don't have an answer for it. How can one not laugh after any WillyC post?
  4. You should definitely read the docs... $item->FolgePic->url
  5. Apparently that line is needed only during the install, so there's no problem to remove it. Thanks for the info, and welcome to the forum Edit: This is related http://processwire.com/talk/topic/4807-fixes-for-pw-installation-on-a-shared-server/ And apparently the alternatives to SetEnv are not really an option for this purpose http://stackoverflow.com/questions/18289196/htaccess-environmental-variable-alternative-with-php
  6. Basic but great The apigen docs were automatically created by scanning the code for classes and useful comments. They're not more than a nice alternative to reading the code itself.
  7. foreach($pages->get("/video-container/")->children as $p) { echo $p->folgeTitel . "<br>"; echo $p->folgeYT . "<br>"; } edit: Well, now you have two answers... find the differences
  8. To get content from a field of one children page that you know the name, do this; echo $page->get("parent=$page, name=name-of-page")->field; To get more fields do this: $myPage = $page->get("parent=$page, name=name-of-page")->field; echo $myPage->field1; echo $myPage->field2; To get the fields from all children do as Martijn pointed out. Basicly, you will be looping through all the children, and extract the fields from each one of them. An important thing to know is that get() get's one page and you can immediately retrieve the fields, while find() gets a group of pages and you only have access to their properties when you iterate them (with foreach() for instance.)
  9. By the name, I woud say that this function belongs to a very nice framework called ProcessWire
  10. Martijn, I actually prefer that to the helvetica/arial stack
  11. Welcome to the forum Chris! body is a custom field and as any other field it only exists if you create it (well, it comes with the default install, but you can delete it or ignore it). That's why it's not in the documentation like the properties and methods of the $page object.
  12. Another interesting option for background noise http://www.noisli.com/
  13. Ben, in the same github page there is a select where "master" is selected. Select "dev" instead and download.
  14. this will return an array of pages, so you would also have to also loop over it. But is that what you want? to get the repeater field of many pages?
  15. That article is about finding a specific entry from inside a repeater field. If you want to find simply the repeater field of a page, you just have to do it as with any other field: $page->name_of_repeater_field. The difference is that this field returns an array (just like images, or page fields), so you will have to loop through it. I don't understand exactly what you mean by finding the field by template. You want to find the repeater fields form all the pages that use the "stockist" template? Or you have only one page that uses that template?
  16. Should the markdown module support the github flavoured syntax as an option? (mainly new lines to br and code blocks) Seems to me that it would be a matter of adding one class to the module, based on this module for wordpress: https://github.com/evansolomon/wp-github-flavored-markdown-comments/blob/master/github-flavored-markdown-comments.php
  17. Thanks for the info and welcome I can reproduce the problem by setting the "language" field to be the only one being displayed. Plus, when I unselected it and returned to not having any field selected (default state) even the HRs disappeared. I hope Ryan will look into this.
  18. This might sound a bit crazy, but I wonder if doing this is more efficient; if($pages->get("parent=$tour, name=$concert->name, fotos.count>0")->id)
  19. diogo

    FontShop WebFonter

    Great news! Now it's possible to try thousands of FontShop fonts while developing a website http://webfonter.fontshop.com/ http://blog.fontshop.com/2013/12/04/introducing-fontshop-webfonter/
  20. A nice small review in French http://comparatif-cms.fr/processwire-cms-pour-site-sur-mesure/ Merci Christophe
  21. Just to complete Willy's answer http://processwire.com/api/modules/markup-pager-nav/
  22. He did it again Thanks Ryan, I can see me using these a lot! There were many times when I wished that some of these methods would exist.
  23. Good one, didn't think of $config->ajax edit: You might want to change it to if(!$config->ajax) throw new Wire404Exception(); // content as it simplifies a bit
×
×
  • Create New...