Jump to content

amirp

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by amirp

  1. Thnx adrian. It is an old static site. It's owner asked me to integrate it to a CMS so that he can update it himself.(looks like it hasn't been updated for at least 2-3 years). I fixed the the links but am still working on the forms
  2. Thanks for pointing out the error. That was close save! It was due to including the function files in incorrect order. The slide does pause on hover but not till it makes one complete round . and i don't know javascripts! .
  3. This is my first website using process wire. Design was not done by me though. It was old existing website with simple design. just integrated static site to processwire. www.tourntrek.com/demo
  4. thnx i'll try it right away it worked. thanks again.
  5. Hi, i'm new to processwire and programming in general. i'm trying to select limited no. of images in a page. i guess i would have to use 'limit' in selector but can't get it right. say i have to get 6 of many image in a page. how do i limit in below code? plz help! <?php $gallery=$page->child("template=gallery_page"); if(!$gallery instanceof NullPage) { $images = $page->images; foreach($images as $image){ $thumb = $image->size(194, 111); echo "<div class='photo'> <a href='{$page->url}gallery' title='$image->description'><img src='$thumb->url' alt='$image->description' width='$thumb->width' height='$thumb->height' /></a> </div>"; } } ?>
×
×
  • Create New...