News Module - Can it be hidden?

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
GT40Graham
New Member
New Member
Posts: 3
Joined: Tue Aug 12, 2014 2:49 pm

News Module - Can it be hidden?

Post by GT40Graham »

Hi,

I am newbie to CMS Made Simple. I don't need the News module which seems to be installed automatically. When I uninstall it, the site breaks and I get this message:

Syntax error in template "tpl_body:20" on line 63 "{news number='3' detailpage='news'}" unknown tag "news"

Is it possible to simply hide the News module?

Regards,

Graham.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: News Module - Can it be hidden?

Post by Jo Morg »

GT40Graham wrote: I don't need the News module which seems to be installed automatically.
It's a core module so yes it is always installed with CMSMS.
GT40Graham wrote:When I uninstall it, the site breaks and I get this message:

Syntax error in template "tpl_body:20" on line 63 "{news number='3' detailpage='news'}" unknown tag "news"
Being a core module there are calls to the module on most sample templates as an example on how to use it.
You'll have to search for {news number='3' detailpage='news'} on your templates, and probably all occurrences of {news ...} on the templates and GCB's you use and remove them before you can uninstall News. However you don't really need to uninstall it and (if you don't use it) just deactivate it: that way you wont have problems with upgrades.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
GT40Graham
New Member
New Member
Posts: 3
Joined: Tue Aug 12, 2014 2:49 pm

Re: News Module - Can it be hidden?

Post by GT40Graham »

Thanks Jo.

How do I deactivate it? That's a feature that I haven't yet found.

Regards,


Graham.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: News Module - Can it be hidden?

Post by Jo Morg »

On Extentions >> Modules, looking at the list of modules, there is a green tick on the column next to status, just click on it for the News module. You still have to remove the tags from the templates before, though.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
GT40Graham
New Member
New Member
Posts: 3
Joined: Tue Aug 12, 2014 2:49 pm

Re: News Module - Can it be hidden?

Post by GT40Graham »

Thanks Jo.

Regards,


Graham.
Post Reply

Return to “CMSMS Core”