Page 1 of 1

News Module

Posted: Fri Jun 24, 2011 11:22 pm
by sialc
I have a problem with the News module. I can create a news in the module and it is displayed at the side menu, but when I click on the news item, it redirects to the login page, or the admin page if I have already logged in.
However if I insert the tag {news} in the content page, it appears properly.

Th hyperlink at the side menu looks like this:
http://10.167.20.13/cms/index.php?mact= ... turnid=122

The hyperlink at the content page is:
http://10.167.20.13/cms/index.php?mact= ... eturnid=15

What could have gone wrong. I have uninstalled the News module and re-installed back, removed all the news items, removed all users, changed templates , but still cannot solve the odd problem. It works well initially but this strange behaviour comes after I added a new user. Any help is appreciated, thank you.

[Close]Re: News Module

Posted: Mon Jun 27, 2011 1:33 pm
by sialc
I think I have traced the source of the problem but are not able to solve it. Have since re-installed.

I have created a re-directing link with a new content but have linked it to the news admin page using the URL. When it did not work, I removed the content but subsequently all the news articles that were created earlier were wrongly linked in the left menu but are fine in the main content area.

Perhaps the developers can simulate this and prevent other users from falling into the same trap.

Re: News Module

Posted: Mon Jun 27, 2011 3:40 pm
by Jos
Do you have a plain {content} tag in all your page templates?

Re: News Module

Posted: Tue Jun 28, 2011 4:30 am
by sialc
Yes, all the templates are fine.
The problem appears to be that a content type of 122 (News admin) was created in left menu instead of type 15 (News), as indicated by the hyperlinks above.

Re: News Module

Posted: Thu Jun 30, 2011 8:47 pm
by Jos
returnid refers to the page in which you want to show the news detail.

You could try to use the detailpage parameter in your template, like {news detailpage=15}

Re: News Module

Posted: Sat Oct 01, 2011 7:42 pm
by Dr.CSS
What version of CMSMS are you using, if it is an older version and you are using Content Type: news then it needs to be upgraded to latest and make a page called news and add the {news} tag to that...