Jump to content

Marco Angeli

Members
  • Posts

    119
  • Joined

  • Last visited

Everything posted by Marco Angeli

  1. Hey Alessio! My first PW site will be online in a few weeks. more news as soon as I can... ciao
  2. so true...many scripts are focused on room/house booking but I can't find anything about table reservation... maybe it's too complex? Anyway, here are some resources about it: http://www.monkeydish.com/equipment-technology/articles/wave-competition-goes-after-opentables-throne Beware italian users! these solutions don't work for you. An option could be: http://www.tavoloso.com
  3. Hi Wanze, well, here are two live examples of what I'd like to do: table reservation: http://www.babbonyc.com/ (make a reservation link) room reservation: http://codecanyon.net/item/booking-system-pro-wordpress-plugin/full_screen_preview/2675936
  4. @ 3fingers: prova a togliere lo slash finale...
  5. Ciao Alessio, mi sembra bene! Nella frase: forse userei il termine inglese "custom fields" al posto di "campi", cosa dici?
  6. Hi there, Just planning how to make online reservations for hotel rooms and restaurant. Is there an easy way to do it? (I'm thinking about a module...) Or a suggestion about a third party plugin that best fits? ..or...how can it be done using PW?
  7. hi kongondo, short answer: yes. As Pete said, I'd like to add an optional role that can bypass maintenance mode, but I don't want to give him the possibility to edit, delete or move pages. It's only a preview for a client before I teach him how to use PW. How can it be done?
  8. Hi Soma, I know that superuser will always bypass but I wanted to add another user with "guest" role. Doing this, (I tested it again) the site becomes visible to everybody. How to show the site to a guest role without giving him full permissions?
  9. Hi everybody, quick update: I downloaded last version of the module and set the site in "Maintenance Mode" (with an exception for Superuser and guest): unfortunately the site was still visible to everybody... did I miss anything? If I remember well, last version worked like a charme...
  10. hey diogo! While we're waiting for the official book, I must say your EPUB looks good! Nice work.
  11. Hi, sometimes, when I try to upload an image, the thumbnail (and the image itself) appears with the wrong orientation (I have a vertical image but I get a horizontal one..) is there a quick fix? UPDATE: I notice this happens only with images I took with my smartphone. Using a "regular" camera (nikon D5000) works like a charm!
  12. but this works: if (count($event->img_evento)) { echo "<ol class='thumb-grid group'>"; foreach ($event->img_evento as $image) { //referring to your field_name > input > thumbnail setting $thumb = $image->getThumb('thumbnail'); echo "<li><a href='{$image->url}' class='fancybox' rel='gallery' title='{$image->description}'><img src='{$thumb}' alt='{$image->description}'></a></li>"; } echo "</ol>"; } ...thanks to 97's: http://processwire.com/talk/topic/643-release-thumbnails/page-6
  13. Hey Wanze! With your suggestion I get some good result.. here's my code: <?php foreach($page->evento as $event){ echo "<article class='ed2'>"; echo "<h3>{$event->titolo_evento}</h3>"; echo "{$event->descrizione_evento}"; if (count($event->img_evento)) { echo "<ol class='thumb-grid group'>"; foreach ($event->img_evento as $image) { echo "<li><img src='$image->url'></li>"; } echo "</ol>"; } echo "</article>"; } ?> As you said, I need thumbnails but this doesn't work: if (count($event->img_evento)) { echo "<ol class='thumb-grid group'>"; foreach ($event->img_evento as $image) { echo "<li><img src='$image->size(100, 100)->url'></li>"; } echo "</ol>"; } ...
  14. Hi everybody, I'm trying to use a repeater field to list different articles with a title, a description and an image gallery. This is what I want to achieve: <article class="ed2"> <h3>title</h3> <p> very long description </p> <ol class="thumb-grid group"> <li><a href="#"><img src="assets/temp-img.png" alt="thumbnail" /></a></li> <li><a href="#"><img src="assets/temp-img.png" alt="thumbnail" /></a></li> <li><a href="#"><img src="assets/temp-img.png" alt="thumbnail" /></a></li> <li><a href="#"><img src="assets/temp-img.png" alt="thumbnail" /></a></li> </ol> </article> I'm using this code (just testing if images are ready to use): <?php foreach($page->evento as $event){ echo "<article class='ed2'>"; echo "<h3>{$event->titolo_evento}</h3>"; echo "{$event->descrizione_evento}"; echo "<ol class='thumb-grid group'>"; echo "{$event->img_evento}"; echo "</ol>"; echo "</article>"; } ?> my output is this: <ol class='thumb-grid group'>020.jpg|175-0.jpg|ox.jpg</ol> So I Know all the images I uploaded are in place, but how do I loop inside the "img_evento" field to echo different urls?
  15. Hey, wait a minute...It works now!!!! ---------------------------------- ------ RECAP ------------------ ---------------------------------- The wiki states: ...while the REAL custom fields used in newsfunction.inc are: ...so be careful the custom fields you create with processwire match those appearing in newsfunction.inc Joss, thanks again for taking the time to write this tutorial.
  16. ...no luck today... my category field is called "article_category"... but I get the same error... I'll delete everything and restart...
  17. Joss, thank you for this inspiring tutorial. Everything works like a charm I only get this error (clicking on the categories list): Error: Exception: Field does not exist: category.name (in /home/marcoang/public_html/processwire/wire/core/PageFinder.php line 248) #0 /home/marcoang/public_html/processwire/wire/core/Wire.php(271): PageFinder->___getQuery(Object(Selectors)) #1 /home/marcoang/public_html/processwire/wire/core/Wire.php(229): Wire->runHooks(Array, Array) #2 /home/marcoang/public_html/processwire/wire/core/PageFinder.php(145): Wire->__call('getQuery', Array) #3 /home/marcoang/public_html/processwire/wire/core/PageFinder.php(145): PageFinder->getQuery('getQuery', Array) #4 /home/marcoang/public_html/processwire/wire/core/Pages.php(144): PageFinder->find(Object(Selectors)) #5 /home/marcoang/public_html/processwire/wire/core/Wire.php(271): Pages->___find(Object(Selectors), Array) #6 /home/marcoang/public_html/processwire/wire/core/Wire.php(229): Wire->runHooks('parent=/news-ar...') #7 /home/marcoang/public_html/processwire/site/templates/newsfunctions.inc(178): Wire->__call(Array, Array) #8 /home/marcoang/public_html/processwire/site/tem What am I doing wrong?
  18. renobird and Matthew, thank you for your suggestions!
  19. Can anybody point me to a processwire site with shopify integration? Since shopify offers templates for a full site, I'd like to understand which role could play processwire in this case. Thanks!
  20. ...using this module for my first processwire project: very useful indeed! Thanks Pete!
×
×
  • Create New...