I want my template to show:
1. Left side: a grid of thumbnails that are drawn from a channel, and use the pagination tag to group the thumbnails into groups of x images. You click the pagination links to move from one group of thumbs to another, while staying in the same template. You click the thumbnail itself to make the right side “single entry” area change to the relevant entry, while staying in the same group of thumbnails.
2. Right side: A “single entry” type display of a product.
The problem: If you click a thumbnail, the resulting page does show the new product on the right, but the only thumb that shows up in the left is the one for that one new product. I guess this is because the url_title in the URI is limited what the tag will grab. I had intended for the thumbs to be a way for you to move around in the products.
Here’s my code for #1 left side:
<div id="product_thumbs_grid">
{exp:channel:entries channel="collection" orderby="jewelry_reorder" sort="asc"}
<a href="http://{path=/collection/{url_title}}">{jewelry_photo}</a>
{paginate}{if total_pages > 1}
{pagination_links}
{/if}{/paginate}
{/exp:channel:entries}</div><!—end div product_thumbs_grid—>
Here’s my code for #2 right side:
<div id="product_detail_info">
{exp:channel:entries channel="collection" limit="1" disable="member_data"}
{jewelry_photo}
<b>{title}</b>
{jewelry_description}
{if logged_in}${price}{/if}
<a href="http://tray.html%22class=%22droid" class="droid font14 borderButton">ADD TO TRAY</a>
{/exp:channel:entries}
</div><!-- end div product_detail_info -->What can I do to get the desired effect? Do I need PHP? Javascript? an iFrame?
Thanks,
Rory
Moved to CodeShare Corner by Moderator