i’m trying to create a navigation based on
{exp:weblog:categories}
<a href=”{path=mysite/company}”>{category_name}</a>
{/exp:weblog:categories}
but my problem is that all the links in that list point to the same template and each category needs to have a differnt layout for the entries. nothing major in terms of layout just that some categories should show the entries with just a title and a summary while other categories need to display title and body.
for example under the weblog called company i have two categories (i have more than that, just keeping it simple) “Who we are” and “Jobs”. the layout for “who we are” needs to just show the {title} and the {body} of the entry where as “jobs” needs to show just the {title} and the {summary}.
there’s only two ways that i think this might be able to get this effect but i’m not finding any details on it.
the first way might be by setting a direct url to each category so i could point it to a special template (just like with a weblog). is that possible??
the other idea would be by using the same template for all the categories but have a bunch of {if} statements to hide or show elements based on the current selected category (just like with {group_id}). is that possible??
how would i go about doing either one of them, or is there a better way to do this all together??
thanks
scott
