Jump to content

Search the Community

Showing results for tags 'nesting'.

  • 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. Hello everyone, Until now I haven't had any problems with the great processwire cms, but this is something quite strange ( or the case is that I'm doing something terribly wrong...) On basic-page.php i run the following code: foreach($page->children as $child){ echo '<li class="A">'; foreach($child->children as $book){ echo '<li class="B">'; echo '</li>'; } echo '</li>'; } with this as my expectations: <li class="A"> <li class="B"></li> <li class="B"></li> </li> <li class="A"> <li class="B"></li> <li class="B"></li> </li> however, the following was returned: <li class="A"></li> <li class="B"></li> <li class="B"></li> <li class="A"></li> <li class="B"></li> <li class="B"></li> what is going here... any help is much appreciated
×
×
  • Create New...