Hi Lisa,
Here is the code I have to create the categories on the right hand side of my site -
<ul id="product-list" class="content-right-links">
{exp:weblog:categories weblog="{segment_1}" show_empty="yes" style="linear"}
<li{if segment_4 == category_url_title} class="current_cat"{/if}><a href="{path={segment_1}/product}">{category_name}</a></li>
{/exp:weblog:categories}
</ul>
Here is the code to create a list of entries based on the category clicked on above -
{exp:weblog:entries weblog="{segment_1}"}
<div class="product">
<div class="product-photo">
{matting_photo}
</div> <!-- product-photo -->
<div class="product-details">
<h4 class="product-title"><a href="{path={segment_1}/product/}type/{categories}{category_url_title}{/categories}/{url_title}">{title}</a></h4>
{if matting_description}<p class="product-description">{matting_description}</p>{/if}
{if matting_link}<p><a href="{matting_link}?keepThis=true&TB_iframe=true&height=500&width=770" class="thickbox">View Offsite Product Information</a></p>{/if}
<ul class="product-specs">
{if matting_sku}<li>Product Code: {matting_sku}</li>{/if}
{if matting_dimension}<li>Dimensions: {matting_dimension}</li>{/if}
{if matting_guage}<li>Guage: {matting_guage}</li>{/if}
{if matting_length}<li>Length: {matting_length}</li>{/if}
{if matting_width}<li>Width: {matting_width}</li>{/if}
{if matting_lip == "Yes" OR matting_lip == "No"}<li>Lip?: {matting_lip}</li>{/if}
{if matting_type == "Smooth" OR matting_type == "Spiked"}<li>Type: {matting_type}</li>{/if}
</ul>
</div> <!-- product-details -->
</div> <!-- product -->
{/exp:weblog:entries}
Finally, here is the code for my search results page -
<td class="{switch}"><a href="{auto_path}"{categories}{category_url_title}{/categories}>{title}</a></td>
Obviously the {auto_path} won’t do what I want it to. I want to preserve the URL structure when I click on a result in the search results so it has all 5 segments in the right order.