Page 1 of 1

News Module - Can it be hidden?

Posted: Tue Aug 12, 2014 2:53 pm
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.

Re: News Module - Can it be hidden?

Posted: Tue Aug 12, 2014 3:09 pm
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.

Re: News Module - Can it be hidden?

Posted: Tue Aug 12, 2014 3:12 pm
by GT40Graham
Thanks Jo.

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

Regards,


Graham.

Re: News Module - Can it be hidden?

Posted: Tue Aug 12, 2014 3:18 pm
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.

Re: News Module - Can it be hidden?

Posted: Tue Aug 12, 2014 3:23 pm
by GT40Graham
Thanks Jo.

Regards,


Graham.