This should be a simple question. I’ve got a bunch of products organized by category. Now, for reasons that are out of scope for this post, I had to use PHP to create my navigation, but I think I have that working correctly. Those links lead to my product_category template with URLs that look like this:
http://localhost/mdrsite/index.php/mdr/product_category/reception_desk_laminate
However, on my product_category template, it displays all products, regardless of the category! My code for the product_category template looks like this:
{exp:weblog:entries weblog:"products"}
{title}<br>
{description}
<a href="http://{path=mdr/product_page}">Details</a>
{/exp:weblog:entries}My understanding is that the weblog module parses the URL for the current category, displaying those that match. Hence, the “category” parameter is for showing categories that are NOT the current category. Obviously, I’ve no need for that parameter here.
Any advice would be appreciated!
Cheers,
Aaron.