Search found 7 matches
- Mon Apr 18, 2011 1:18 pm
- Forum: Modules/Add-Ons
- Topic: CGBlog: Show related items on detail page
- Replies: 6
- Views: 2426
Re: CGBlog: Show related items on detail page
Hi, I have another issues. It turns out that the releated items only works with one category. If you have multiple categories, it will only use the last one. I looked into the array function to create a variable which adds a string with a comma seperated like cat1, cat2, cat3. But unfortunatly, it's...
- Sun Feb 06, 2011 4:55 pm
- Forum: General Discussion
- Topic: [SOLVED] Link category in the news detail page.
- Replies: 5
- Views: 6167
Re: [SOLVED] Link category in the news detail page.
With pretty ur's you can use the following on your summary page. {if $entry->categories} <div class="CGBlogSummaryCategory"> {strip} {foreach from=$entry->categories item='one_category'} {foreach from=$categories item='one'} {if $one_category.name == $one.name} <a href="{$one.url}&quo...
- Sun Feb 06, 2011 4:54 pm
- Forum: Modules/Add-Ons
- Topic: CGBlog: Category links on detail page with pretty URL's
- Replies: 6
- Views: 2661
Re: CGBlog: Category links on detail page with pretty URL's
Hello, I solved it! For people who want to use pretty url's see following code. {if $entry->categories} <div class="CGBlogSummaryCategory"> {strip} {foreach from=$entry->categories item='one_category'} {foreach from=$categories item='one'} {if $one_category.name == $one.name} <a href="...
- Sun Feb 06, 2011 4:42 pm
- Forum: General Discussion
- Topic: [SOLVED] Link category in the news detail page.
- Replies: 5
- Views: 6167
Re: [SOLVED] Link category in the news detail page.
Hi, Is there also a way to do this with pretty url's? Meaning that somehow the following code can be set in de detail page template. {foreach from=$categories item='one'} <li><a href="{$one.url}" title="{$one.name}">{$one.name}</a> ({$one.count})</li> {/foreach} Thank yo...
- Sat Feb 05, 2011 1:42 pm
- Forum: Modules/Add-Ons
- Topic: CGBlog: Category links on detail page with pretty URL's
- Replies: 6
- Views: 2661
CGBlog: Category links on detail page with pretty URL's
Hi, 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). {if $entry->categories} <div class="CGBlogSummaryCategory"> {strip} {foreach from=$ent...
- Sat Feb 05, 2011 10:55 am
- Forum: Modules/Add-Ons
- Topic: CGBlog: Show related items on detail page
- Replies: 6
- Views: 2426
Re: CGBlog: Show related items on detail page
Hi Nicmare,
Thank you for your quick response. It worked...thank you very much!
- Rick
Thank you for your quick response. It worked...thank you very much!
- Rick
- Fri Feb 04, 2011 7:50 pm
- Forum: Modules/Add-Ons
- Topic: CGBlog: Show related items on detail page
- Replies: 6
- Views: 2426
CGBlog: Show related items on detail page
Hello, I have a problem with CGblog and I can't make it work First I wanted to make the categories linkable. I did that with some help of this forum. See the following code (not working with internal urls of mod_rewrite unfortunatly). {if $entry->categories} <div class="CGBlogDetailCategory&quo...