I’m trying to build a spry on my website that pulls in different pieces of my portfolio… It’s a three tier AJAX spry that separates vertical pieces from square pieces from horzontal pieces.. I created some unique PHP and but I am getting a lot of repeat pieces…
here’s my code:
<div id="slidingPanel_1" class="SlidingPanels-Vertical">
<div class="SlidingPanelsContentGroup">
<div id="content1" class="SlidingPanelsContent">
<ul class="portfolio">
{exp:weblog:entries weblog="portfolio" search:thumbnail-proportion="vertical" limit="4"}
<li>
<a href="#">{project-image-thumb}<? $entrylist[]= {entry_id};?> </a>
</li>
{/exp:weblog:entries}
</ul>
</div>
<div id="content2" class="SlidingPanelsContent">
<ul class="portfolio">
{exp:weblog:entries weblog="portfolio" limit="4" entry_id="not <? echo($entrylist[0]);?>|<? echo($entrylist[1]);?>|<? echo($entrylist[2]);?>" search:thumbnail-proportion="vertical" }
<li>
<a href="#">{project-image-thumb}<? $entrylist[]= {entry_id};?></a>
</li>
{/exp:weblog:entries}
</ul>
</div>
<div id="content3" class="SlidingPanelsContent">
<ul class="portfolio">
{exp:weblog:entries weblog="portfolio" search:thumbnail-proportion="vertical" limit="4"}
<li>
<a href="#">{project-image-thumb}<? $entrylist[]= {entry_id};?></a>
</li>
{/exp:weblog:entries}
</ul></div>
I feel like I am so close… but I just can’t get the pieces to not repeat.. Any ideas?
FYI.. The code above only represents one tier.. This code repeats for square and horizontal.