Jump to content

diogo

Moderators
  • Posts

    4,314
  • Joined

  • Last visited

  • Days Won

    80

Everything posted by diogo

  1. There is FontPrep https://github.com/briangonzalez/fontprep. This tools is not maintained for at least 2 years, but it's freely available and works. Just a small note: Be aware that the fact that a desktop font is free, doesn't mean that it can be used as a webfont. You should read the license carefully, and if it doesn't mention webfonts, you should contact the vendor/creator and ask. This also applies to fonts served by FontSquirrel.
  2. Awesome!!! https://www.smashingmagazine.com/2016/07/the-aesthetic-of-non-opinionated-content-management-a-beginners-guide-to-processwire/ Thanks Francesco!
  3. @pwired, I'm having trouble to understand all of your interventions in this thread. How did a simple post about a PHP tutorial suddenly became another of those "making PW easier for beginners" discussions?
  4. See Arjen's post for more info, but for your case would be more than enough to use the PHP classical way: $i = 1; foreach($page->children as $child) { if($i % 2 == 0) { // even } else { // odd } $i++; }
  5. Hm, only Ryan can answer to your question, but since he lives in the US I don't see how he would do that without losing money himself. I'm sorry for all the messy situation there by the way
  6. Hey @teppo, just tried the module on 2.8 and i get the error Argument 1 passed to VersionControl::isEnabledTemplate() must be an instance of Template on line 897, you have any idea of why that might be?
  7. The title of the thread is pretty negative to me (and i don't want to insist on this because I'm not sure anymore, but I'm pretty sure the original post was edited to be lighter). Anyway, ceverlin already explained his reasons, and I think we are all in peace with it. As for your unbiased opinions, I've learned with time to not give them much credit. You can change that in your activity streams... I'm on mobile, so for now I can't be more specific.
  8. Is it really necessary to be so negative? Pete went through a lot of trouble to make this upgrade, and was very clear on his explanation. Ryan also explained it in the weekly blog post. We are all getting used to the new forum, and I hope you'll bare with us with some more positivity.
  9. Ok, slightly out of context, because it's Javascript, but these 3 videos from funfunfunction could really help you to understand those 3 functions: It's a series, watch them in sequence
  10. Hey guys! Sorry, I'm not giving great attention to the module lately and I'm tight with time right now. @evan, your pull request seems reasonable, so I will accept it as is. Don't worry about the fix not being the most elegant. The module is naturally hacky in it's own nature already
  11. I applied prefix free by Lea Verou to the site, so I don't think it can be a cache problem. This is a JS file that applies the prefixes on the client, so if you're looking at the source from a pc that doesn't need prefix for that, it won't show up, but should work on the old browser, since android 4.4 supports transforms with the webkit prefix.
  12. Thanks for reporting @matjazp! I forgot the prefix on the transform property when rotating, should be working now.
  13. Not completely sure, but I think get($selector) only works with $pages and not with other array objects, as opposed to get($key). You have one more option though: $pages->get("parent={$page->parent}, name=some-name, include=hidden");
  14. This is the website that we launched this one some weeks ago for an Art Therapist based in Zurich. http://heikeprehler.ch/ We had to deal with a quite large amount of text here, so our main concern was to make the website light and easy to navigate (also vertically, inside each page). On the backend, we also decided to divide everything very well, to make it easy for the client o edit, but also to make it easy for us to output the content as flexibly as possible. Each content page is divided in blocks of children, that allowed us to have IDs for each of them, and link individually with hash links on the top of the pages. It also allows us to place slideshows under each block by allowing the client to simply upload the images to an image field, instead of inserting them in the rich text area. The site is responsive, of course
  15. diogo

    krafftstoff.de

    Here's another website for a German client. http://krafftstoff.de/ Krafftstoff produces textile outfits for promotion, events and fairs. They needed a simple site, mainly to show their portfolio. Our main worry was the variable quality of the images for each project, so we decided to give the great ones a place to shine in the homepage and kept the others limited to a small slideshow on the project pages. The client also asked for a fast and easy way to browse the projects and wanted them to have few information, and that's why we decided to join them in a single page per category, instead of creating a single page per project. Although the views for each project are being created with JavaScript, they are still bookmarkable since we are updating the URL by pushing hashtags. The structure in ProcessWire is extremely simple. There's a page for each of the menu items as children of Home, and the projects ar added as children of each category. The team members are also children pages of te about page. Once again, we only created some example pages, and the client got the hang of it very quickly and completed the content very fast. They seem quite happy wit PW
  16. I think you got it right. What PW does is quite simple, you're probably just having trouble to accept that this is so different from what you are used to with Drupal. PW is actually a Framework in its essence, the CMS is just a nice extra that was built exactly with the tools that the framework offers. Resuming, you can and should use the CMS to build your sites, because it makes your life and especially your clients life easier, but what you are using is actually the framework and its' API. Because the main goal of PW is to let you built your templates without interfering, you are also quite right that it feels like building static templates. This is of course just a feeling — in reality PW injects a set of objects, and also includes some helpful files in your templates — but the truth is that you almost don't feel its interference because nothing is outputted, so you could even output only static content if you wanted. By the way, welcome to the forum, I think you will have a good time here with us
  17. To make a site with ProcessWire you will have to do work a bit more than that. The documentation is there, and it's very complete, but it won't teach you sokething that specific. You will have to join the pieces of the puzzle yourself. It's totally worth it though, once you learned by yourself how to list your articles with the thumbnails, you wil know how to do anything you want. And I mean anything! No code examples as I'm on mobile, sorry.
  18. diogo

    Fiberprofil

    Actually, in this case it was us who decided the design, and we assume it completely as our style, even if a bit more corporate than what we usually do. The client was great and liked immediately what we showed them.
  19. diogo

    Fiberprofil

    Thanks Charles! I forgot to refer an important detail. All the tables from the products are using the Table ProField. This field makes it incredibly easy for the editors to fill the tables and they are really happy with how it works in the backend. Here is an example for editing this product http://fiberprofil.com/produtos/gradil/gradil-moldado/ra-iso25m3838/ Those dropdowns are page selectors. the editor can add new properties by themselves as pages in the tree:
  20. diogo

    Fiberprofil

    Hey guys, another website we want to share with you! http://fiberprofil.com/ This is a website that we released a few months ago for a Spanish company specialised in pultruded fiber products. There is still some content missing in the English version, so you may want to see it in the other languages. The structure of the website is quite complex, and to make it easier and less repetitive for the editors, we implemented a system of fields inheritance, so the images and information can be inherited from the parents when missing. This is useful when products share common properties with it's siblings. For every product there is the possibility to download a dynamically generated PDF. We did it with the pages2-pdf module. The logo and graphic design are also from us. Edit: see my next post for a nice detail
  21. Not yet on real projects, but I won't wait much longer. By the way, this is a great way of learning how to use flexbox http://flexboxfroggy.com/
  22. You could start with the beginner's tutorials in the docs, they are very clear and helpful: take Joss's "But what if I don't know how to code?" series, or Ryan's "Hello worlds" tutorial for starting. Anyway, all that you need is here https://processwire.com/docs/
  23. I didn't test the theme thoroughly but I spotted some bugs, so, here's a quick feedback: The color background color doesn't change, and the info in the footer needs more space: Also, there is a flick when I go to another page. For a fraction of time the background is white and the elements are positioned differently.
×
×
  • Create New...