Hi
I have a directory system set up using EE. It seems to work well, with the only exception that if an entry appears in two categories, It shows up twice when using
{exp:weblog:entries weblog="{embed:listing_weblog}" limit="1"}
{categories}
You are here: <b><a href="http://{blog_url}">{blog_title}</a></b> » <a href="http://{path={segment_1}/listings/}">{category_name}</a> » {title}
{/categories}
{/exp:weblog:entries}this code essentially creates a breadcrumb navigation, which works fine, except when an entry has two or more categories, rightly so, the “breadcrumb” is repeated X amount of times.
this means that if a user is viewing Entry A on Category A, they see bread crumbs to Category A and Category B, so visually it’s annoying.
is it possible to show categories dynamically in this manner - the URL contains the category of the entry it was access through if that makes sense.
thanks
[Mod Edit: Moved to the How to forum]