Jump to content

Search the Community

Showing results for tags 'single page snippets'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I am looking for some help in getting my head around how to do the following. I have a single page site that works great with some handy code (thanks Soma ;-) ) foreach($page->children("has_parent!=2,id!=2|7|27,status<".Page::statusTrash.",include=hidden") as $p){ //if quotes.quote not rendered before in main foreach loop, print next in order echo $p->render(); } This renders out pages as sections. What I want to do now however is pull a quote from a page that has the quotes and attributions in a repeater field and render them after each main section. And, to make it do my head in more, I want just enough to match the available sections, as well as pull them in the order that they appear in the quote page! I am no doubt making this more difficult, so any help in putting my head right would be appreciated. I am thinking I should put a counter $i before the loop then select each repeater quote by id equals $i ?
×
×
  • Create New...