I have this problem with pretty URL's and detail page of CGBlog. A great feature is to make the category items linkable of an article. I did this by doing the following (with the help of this forum).
Code: Select all
{if $entry->categories}
<div class="CGBlogSummaryCategory">
{strip}
{foreach from=$entry->categories item='one_category'}
{capture assign='urlparam'}&category={$one_category.name}{/capture}
{cms_selflink page='categorie' urlparam=$urlparam text=$one_category.name|strtoupper}
{/foreach}
{/strip}
</div>
{/if}
The lading page is
Code: Select all
{CGBlog category=$smarty.get.category detailpage=$pagealias}
Code: Select all
{foreach from=$categories item='one'}
<a href="{$one.url}" title="{$one.name}">{$one.name}</a>
{/foreach}
Thank you.
- Rick