Page 1 of 1

Error 404 for detailed News

Posted: Fri Nov 10, 2006 3:04 pm
by mamisoft
Hi,

I just installed cmsms 1.0.2. I edited the startpage (new content) and placed a new article for the news. I filled both the summary and the content sector.

When refreshing my startpage, the news is displayed, but clicking on more... or on the headline a 404 Error: Page not found appears.

Same happens to the standard news (by clicking the headline).

Do I have to change something for the Detail Page???

Thank's for your help.

Re: Error 404 for detailed News

Posted: Fri Nov 10, 2006 9:35 pm
by Dr.CSS
What does the News tag look like?

Re: Error 404 for detailed News

Posted: Sun Nov 12, 2006 1:37 pm
by mamisoft
The link looks like this:

http://www.projekt-koffer.de/index.php? ... eturnid=39

I made no changes to the news tag.

Summary template:


{foreach from=$items item=entry}


{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}


{$entry->titlelink}



{$category_label} {$entry->category}


{if $entry->author}

{$author_label} {$entry->author}

{/if}

{if $entry->summary}

{eval var=$entry->summary}



[{$entry->morelink}]


{else if $entry->content}


{eval var=$entry->content}

{/if}


{/foreach}


Detail template:
{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}
{$entry->title}



{if $entry->summary}


{eval var=$entry->summary}


{/if}

{if $entry->category}

{$category_label} {$entry->category}

{/if}
{if $entry->author}

{$author_label} {$entry->author}

{/if}


{eval var=$entry->content}



{$entry->printlink}

{if $return_url != ""}
{$return_url}
{/if}

Re: Error 404 for detailed News

Posted: Sun Nov 12, 2006 5:27 pm
by mamisoft
Hi again...

I added some new pages, now the news is working. That's all what I did, maybe there is a problem if only the startpage is activated??? No everything is working and this topic can be closed...

Thanks anyway.

Re: Error 404 for detailed News

Posted: Fri Nov 24, 2006 3:40 am
by gottabekd
I signed up for the forum just to answer this...

I ran in to the exact sample problem.  The detailed news returned a 404 error.

The problem was that I was using the "Left simple navigation + 1 column" template.  There is already a "News" in the template, with a tag for the news module.  However, the news tag had the detailpage="news" option set.  I did not have a "news" page.

The solution?  Remove the detailpage option.  I changed the news tag to look like "{news limit=3}" in the template file.