Jump to content

bizzzel

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by bizzzel

  1. Diogo - Your last post worked perfectly!!! Thank You so much - very new to ProcessWire (looking for WordPress replacement) and so far loving me sum ProcessWire.
  2. foreach($page->buildingsRepeat as $building) { echo "<p>{$building->buildingInfo}</p>"; echo "<img src='{$building->buildingImage->url}' alt='{$building->buildingImage->description}' />"; echo "<p>{$building->body}</p>"; } Here is the code. Yes looking to display single image. (Sorry I changed the names from original (removed "-"))
  3. Thanks for the info!! One issue - Everything works expect the image doesn't display. I checked the source code and the php is trying to show it, but the URL is wrong. Its showing the 1011 again: <img alt="" src="/site/assets/files/1011/"> Should be something like: <img alt="" src="/site/assets/files/1011/my_imageFluffyCat.jpg/">
  4. I added the repeater field to my page. In the php template I added : <?php echo $page->my-repeater-area; ?> When I display the page in a browser - it's showing "1011", not the text and images from what I input in the admin area. What am I missing here? (The sub fields in the for each "my-repeater-area" are: building-description, building-image, and building-text.) Thanks in advanced: Ben
×
×
  • Create New...