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.
News Module
[Close]Re: News Module
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.
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
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.
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
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}
You could try to use the detailpage parameter in your template, like {news detailpage=15}
Re: News Module
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...