News module ReturnID problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
MichaelK

News module ReturnID problem

Post 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?

???
cyberman

Re: News module ReturnID problem

Post by cyberman »

Which version of CMS and news module you are using ?
MichaelK

Re: News module ReturnID problem

Post 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
cyberman

Re: News module ReturnID problem

Post by cyberman »

Have you changed someone in templates?
MichaelK

Re: News module ReturnID problem

Post 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}
MichaelK

Re: News module ReturnID problem

Post 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?
cyberman

Re: News module ReturnID problem

Post 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?
Locked

Return to “Modules/Add-Ons”