Jump to content

diogo

Moderators
  • Posts

    4,314
  • Joined

  • Last visited

  • Days Won

    80

Everything posted by diogo

  1. Try: <?php foreach ($articles->practice_publication->filter('practice_publication_type=1') as $article) : ?>
  2. Thanks @tpr! overflow-x was already set in the body. I added max-width: 100vw instead, can you check if it dit it, please? Would be great, thanks!
  3. Hi Guys, Here's another website from us. It is some months old, but I was waiting for all the content to be in place before showing. http://davinci-porto.pt/ This is a frames workshop and art gallery in the main art neighbourhood from Porto. the content is in Portuguese, sorry Exceptionally in this site, there was no intervention from Erika, so the design is mine.
  4. Marth, you have three posts, and none of them about ProcessWire. Plus, your picture is from a rather obscure actress that doesn't fit your name. I'm tempted to mark you as spammer right away, but will give you another chance. Care to explain?
  5. Hey guys, this may be interesting to join http://alistapart.com/blog/post/cms-event August 25, via Google Hangouts. Of course they will try to sell Craft and EE, as usual, but might still be good.
  6. Replace home by the name of your admin page
  7. Hello Marth
  8. They are pages. Look for them under "Repeaters" inside the admin page in the tree. Repeater pages are under a page with the name "for-page-1234" (1234 is the ID of the page that holds the repeater field) under a page named "for-field-123" (being 123 the id of the repeater field. You can see it o the URL when editing the field). This means that you can easily get all pages from a repeater field in a page by using the selector: $pages->find("parent=/processwire/repeaters/for-field-123/for-page-1234") Or even construct that selector dynamically when needed: $pages->find("parent=/processwire/repeaters/for-field-130/for-page-{$page->id}")
  9. I think your solution is the best option here. You could also add a class to that <p> instead and use it in your advantage on the css: $('p img').parent().addClass('image-inside'); -- .image-inside { display: inline; }
  10. I was going to answer, but Teppo did before. Good I still would like to say that all you're questions had quite obvious answers and that you asked them in a quite rough way, in the context of being the one that's using an excellent free tool, asking these questions to the one that provides this tool to you for free (repetition intended) and takes the time to give such complete explanations to every question that comes up. Anyway, if you're worried about guests, just make sure your editors are the first guests after saving a page, by telling them to do it.
  11. Julia, can you tell us about your experience with PW on that host? I removed the link from your answer, you're too young to link.
  12. Nice reading Rick, welcome to PW!
  13. Did you try not giving them access to create and edit pages with that template in the template "Access" settings?
  14. I think Padloper will be it, but it's still very young Been playing with it for the last minutes. Just have one thing to say: Wow!
  15. This look veeeery interesting! https://schema.io/ Notice the PHP docs here https://schema.io/docs/clients Edit: This tool is API centric —seems to work a bit like GatherContent and the likes— The platform holds all the needed info and takes care of operations, but doesn't seem to have any front end, and offers instead a nicely built API to allow integration on any framework.
  16. Just by curiosity, why do you prefer the older version? What changed for the worse?
  17. A small google search will tell you that they are
  18. Adrian, read Mikel's correction above. Mikel, next time you want to say something this important, do it in a new post so people know about the change
  19. What do you get with: print_r($page->next($g)) ?
  20. Does it work if you do this instead? $prev = "<a href='" . $page->prev($g)->url . "'>prev</a> ";
  21. https://www.hostpoint.ch/ a Swiss hosting recommended by Soma, some posts above and some years ago, has a very interesting feature: You can create a free account and add websites to it, but you can also be invited to work on other peoples sites. This is great because you can tell your clients to easily create their own account and simply give you authorisation to work on their website. no messing around with them giving you them passwords, or you having to create their account by yourself frequently involving payments. Nothing new, if you think of how any modern app uses this system for collaboration, but I don't see it a lot in hosting. Does anyone knows of other hosting that allows for this? Would be great to find one in the EU
  22. You could use textile http://modules.processwire.com/modules/textformatter-textile/ Not like using a color picker, but you can color a text like this: http://txstyle.org/doc/33/span
  23. Can it be something on the head.inc or upper_part.inc? What happens if you wipe everything from the home file?
  24. Hm, are you sure you are editing the right files? Does anything change when you edit the basic-page template?
  25. In the blank profile all the home.php file does is to include the basic-page: <?php include("./basic-page.php"); So, that's the intended behaviour. If you want it to be different you'll have to add some new code to it.
×
×
  • Create New...