Jump to content

diogo

Moderators
  • Posts

    4,296
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. diogo

    ED DESIGN

    Thanks Mike! I had forgotten that SiNNuT referred the grey background, and didn't take care of it. I added the !important and according to BrowserStack the problem seems to be solved! We added the strike-out to the active link after our first very professional usability test (with my sister ). We chose the strike-out after trying changing the color to green, but that didn't go well since in our system the color represents the links, and this link is deactivated. The strike-out besides being a very clear visual differentiation, also tells you that you can't press that link. --- I did some —well, a lot— optimisations on the website concerning speed. Would be great if you guys could tell me how the site feels like now, especially those on the other side of the ocean
  2. I moved this thread from "case studies" to "showcase"
  3. Hi David! Any thoughts on changing the compression library yet? I'm getting this suggestion from google page speed insights:
  4. Yes. If you added the field to the homepage, spitting the first 3 pages on the home is as easy as: foreach ($page->pageField->find('limit=3') as $pt) { echo $pt->title; echo $pt->featured-image; echo $pt->featured-summary; } If you want to do the same in any other page use instead: $pages->get(1)->pageField->find('limit=3')
  5. No, this suggestion is just the one that I consider really simple, but it's less flexible for sure. If you want the client to be able to reorder them, use my second suggestion instead. Oh, you will This is one of the most important fields in PW. ProFields are great, but they are for sure no replacement to the page field. And since you haven't seen this kind of field before I strongly suggest that you read this tutorial by Kongondo https://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/
  6. my favourite 2 ways are by no specific order: 1. Add a "featured" checkbox to each page and show the last 3: $pages->find('featured=1, sort=-date, limit=3'); 2. Add a page field in the homepage where your client can add pages, and show the top 3 from that field.
  7. Just want to share this with you guys, To commemorate the launching of our new website https://processwire.com/talk/topic/7170-ed-design/ we decided to share a title font that we used on one of our projects under the SIL Open Font License (OFL). The font is available for download as otf and as webfont package on our site here and open for collaboration on Github and Open Font Library (you can also embed it from there). If you like it, use it and enjoy
  8. Actually, it's not even that difficult to find... http://processwire.com/download/
  9. diogo

    Hosting advice

    I had to give up on NFS because of their safe_mode imposition (FLEX was not a real alternative), but with PHP 5.4 things must be better now. I will have to try them again as I really like their philosophy. Their FAQ is a great reading for anyone that wants to know a bit more about the hosting business http://faq.nearlyfreespeech.net/
  10. That's how we should always start thinking with PW It abstracts things less and allows to use the API for everything.
  11. @zwergo, I took the freedom to correct the links in your post, the "watch?v=" part was missing. Hope you don't mind.
  12. Well, damn it! I will refrain from posting for the rest of the day. Maybe tomorrow I will be awaken... Anyway Manaus, there is your answer. Parent and children in one go.
  13. This is working for me in the latest dev! $pages->find("id|parent=1236|1244|1264|1768|1456") The pipe is working also on the left side of the operator. When did Ryan add this? I completely missed it! :)
  14. @appeisa, you're right of course. Already corrected it.
  15. $getTheseAndItsChildren = "1236|1244|1264|1768|1456"; $myPages = $pages->find("id={$getTheseAndItsChildren}, parent={$getTheseAndItsChildren}"); edit: I have to wake up before posting $myPages = $pages->find("id=1236|1244|1264|1768|1456"); echo $myPages->import($pages->find("parent={$myPages}"));
  16. diogo

    ED DESIGN

    Thanks for the testing Sinnut!
  17. Focus on both. But you will find it much easier to start with pw
  18. How about if they are called Emma and Tim, it still works?
  19. You can show the title field as collapsed in those templates, or even hidden. I collapsed them on mine because as you can see in the screenshot they are good to identify each block. It also happened that I edited some blocks directly by searching in the admin for their titles.
  20. diogo

    ED DESIGN

    I half solved this. I still wanted the images to have different weights, but now I pause the rotation when you scroll the image up. I think it's a nice compromise @totoff, can I ask you to check the font again?
  21. Welcome to the forum bipster! For the projects in our website (see my signature) I used a table field and works very well I created three templates: paragraph, images and video, and added them to the table field "content" These are the fields in each template: paragraph: text (textarea) images: is_slider (checkbox), images (image) video: mp4 (file), webm (file), poster (image) on each template I put the code for rendering each object, for example, the video template is like this: //video.php (simplified) <div class="video"> <video muted poster="<?=$page->poster->url?>"> <source src="<?=$page->webm->url?>" type="video/webm"> <source src="<?=$page->mp4->url?>" type="video/mp4"> <p>bad browser, no video for you!</p> </video> </div> and on the project pages I output all the content simply with: foreach($page->content as $c) { echo $c->render(); }
  22. diogo

    ED DESIGN

    Addressed first and second points and planning the third. I installed montserrat on the server and changed the order from the formats as suggested in the article linked by SiNNuT. totoff can you check how it looks like now? :) Thanks again for the suggestions, we really appreciate!
  23. diogo

    ED DESIGN

    Thanks totoff, I sent your suggestions to Erika.
  24. diogo

    ED DESIGN

    Thanks a lot for your comments and suggestions Horst and sinnut. Now I'm on mobile, but will address them later.
×
×
  • Create New...