Page 1 of 1

News module ReturnID problem

Posted: Tue Jan 17, 2006 2:44 pm
by MichaelK
Hi,



I've got an News Module problem.
When I have Summery and Contact, it will display the More Link but when I click on this link, he don't open the detail page.

When I look at the URL it says that the ReturnID=31 But when I edit this in ReturnID=15, then it
wil works fine.

How is that possible?

???

Re: News module ReturnID problem

Posted: Tue Jan 17, 2006 2:47 pm
by cyberman
Which version of CMS and news module you are using ?

Re: News module ReturnID problem

Posted: Tue Jan 17, 2006 2:50 pm
by MichaelK
cyberman wrote: Which version of CMS and news module you are using ?

The latest CMS Version 0.11.2
News Module: 2.0.1

Re: News module ReturnID problem

Posted: Tue Jan 17, 2006 3:07 pm
by cyberman
Have you changed someone in templates?

Re: News module ReturnID problem

Posted: Tue Jan 17, 2006 3:10 pm
by MichaelK
cyberman wrote: Have you changed someone in templates?
Yes, I couple things. But only the text classes.
These are my templates:


Summery Template

{foreach from=$items item=entry}


{$entry->title}


{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}

{if $entry->summary}

{eval var=$entry->summary}



[{$entry->morelink}]


{else if $entry->content}


{eval var=$entry->content}

{/if}

{/foreach}

Detail Template
{$entry->title}



{if $entry->postdate}

Geplaatst op: {$entry->postdate|date_format}

{/if}


{eval var=$entry->content}



{$entry->printlink}

Re: News module ReturnID problem

Posted: Tue Jan 17, 2006 3:38 pm
by MichaelK
I fixed it.


Now I have this line: {cms_module module="news" number="5" dateformat=" %e %B %Y, %I:%M"}

I don't insert him in my template but in a new page with content.
Now it works fine!!!

But how is that possible?

Re: News module ReturnID problem

Posted: Tue Jan 17, 2006 3:41 pm
by cyberman
MichaelK wrote: I fixed it.


Now I have this line: {cms_module module="news" number="5" dateformat=" %e %B %Y, %I:%M"}

I don't insert him in my template but in a new page with content.
Now it works fine!!!

But how is that possible?
Have you added news in template before?
How looks your call for news module before?