On music.php, logos.php, and advertising.php I’d like to dynamically pull in one project’s contents at a time and allow the user to select a different project to view by clicking different links in a sidebar. I’d like to accomplish this without refreshing the page if possible.
I’m also going to only show one image at a time from each project using the cycle.js plugin, and hide the rest until the user selects previous or next.
Here’s the php that I have pieced together so far to retrieve the project images, but currently it only seems to be retrieving the last project in each subfolder:
< ?php foreach($page->children() as $child): ?>
< ?php foreach($child->images() as $image): ?>