Page 1 of 1

[solved] Different news summaries on the same page (links don't work)

Posted: Thu Jul 31, 2008 2:17 pm
by Lucazade
Hi.

I'm completing my first proper installation of CMSMS (1.3.1 on Gentoo) for a commercial site and thoroughly enjoyed it so far. There's only a minor problem with the News module that I've been unable to figure out so far.

I want to have a news archive page with the archive in the main body and a scrolling list of the latest 5 headlines (this list is in the footer of all pages). The problem I have is that the links in both the footer and the main body don't go anywhere - they just reload the page. However, the links in the footer work for all other pages.

This is what I've done:

1. created two news summary templates - "archive" and "ticker". They both use {$entry->titlelink} to create the lists.

2. created the news detail template "Simple" which uses {eval var=$entry->content} for the content

3. the template for the archive uses these fields:

body:

Code: Select all

{news category='NF' number='20' summarytemplate='archive' detailpage='Simple'}
footer:

Code: Select all

{news category='NF' number='5' template='ticker' detailpage='Simple'}
Any idea how to fix this?

Thanks for any help.

Re: Different news summaries on the same page (links don't work)

Posted: Mon Aug 04, 2008 9:11 am
by Lucazade
I was too quick in reading the documentation and didn't notice that 'detailpage' has to point to the *alias*, not the page name. Doh!