News Module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
sialc
New Member
New Member
Posts: 3
Joined: Fri Jun 24, 2011 11:11 pm

News Module

Post 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.
sialc
New Member
New Member
Posts: 3
Joined: Fri Jun 24, 2011 11:11 pm

[Close]Re: News Module

Post 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.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: News Module

Post by Jos »

Do you have a plain {content} tag in all your page templates?
sialc
New Member
New Member
Posts: 3
Joined: Fri Jun 24, 2011 11:11 pm

Re: News Module

Post 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.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: News Module

Post 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}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Module

Post 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...
Post Reply

Return to “CMSMS Core”