How to uninstall or at least deactivate News and Search m?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Cobol74
New Member
New Member
Posts: 6
Joined: Thu Apr 25, 2013 10:17 pm

How to uninstall or at least deactivate News and Search m?

Post by Cobol74 »

Hello,

the current version of CMS MS comes with pre-installed News and Search modules. When I dis-activate them I get errors

Error: at line 702 in file C:\xampp\htdocs\bionovalab\lib\smarty\sysplugins\smarty_internal_templatecompilerbase.php:

Message:

Syntax Error in template "tpl_body:22" on line 25 "{* End Search *}" Default plugin handler: Returned callback for "search" not callabl

What is it? How I can rid of not needed modules?

Thanks in advance
Cobol74
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: How to uninstall or at least deactivate News and Search

Post by velden »

Why?

If you want to hide them from users don't assign them permissions to work with (for News that is).
uniqu3

Re: How to uninstall or at least deactivate News and Search

Post by uniqu3 »

Page Template is using {news} and {search} tags, if you disable or uninstall these modules, those smarty tags no longer exist therefore you are being faced with error.
Default plugin handler: Returned callback for "search" not callabl
Reading actual error would of gave you answer already.
Cobol74
New Member
New Member
Posts: 6
Joined: Thu Apr 25, 2013 10:17 pm

Re: How to uninstall or at least deactivate News and Search

Post by Cobol74 »

velden wrote:Why?

If you want to hide them from users don't assign them permissions to work with (for News that is).
I have designed by the client website and it does not include these features.

Should I define group 'visitors'?
And I don't see 'View' any particular modules permission to turn it off for any group...
Cobol74
New Member
New Member
Posts: 6
Joined: Thu Apr 25, 2013 10:17 pm

Re: How to uninstall or at least deactivate News and Search

Post by Cobol74 »

uniqu3 wrote:Page Template is using {news} and {search} tags, if you disable or uninstall these modules, those smarty tags no longer exist therefore you are being faced with error.
Default plugin handler: Returned callback for "search" not callabl
Reading actual error would of gave you answer already.
I understand it, but I can't find the template... The error message points me to error message generator (event handler) instead of place of error.
Cobol74
New Member
New Member
Posts: 6
Joined: Thu Apr 25, 2013 10:17 pm

Re: How to uninstall or at least deactivate News and Search

Post by Cobol74 »

uniqu3 wrote:Page Template is using {news} and {search} tags, if you disable or uninstall these modules, those smarty tags no longer exist therefore you are being faced with error.
Default plugin handler: Returned callback for "search" not callabl
Reading actual error would of gave you answer already.
Is here any possibility to turn off Smarty error messages and/or set it to ignore non-existent tags?
uniqu3

Re: How to uninstall or at least deactivate News and Search

Post by uniqu3 »

No there is no way and shouldn't be.
Template is the one you are using for your site.

And please read errors you get and try to understand these:
Syntax Error in template "tpl_body:22" on line 25 "{* End Search *}"
So this means that in your Page Template that is used on the site you have seen this error on line 25 there is {search} and it is very simple to search your Template for {* End Search *} to find exactly that line.
Cobol74
New Member
New Member
Posts: 6
Joined: Thu Apr 25, 2013 10:17 pm

Re: How to uninstall or at least deactivate News and Search

Post by Cobol74 »

uniqu3 wrote:No there is no way and shouldn't be.
Template is the one you are using for your site.
I am using the default template which comes with CMS MS
NCleanBlue - I edit it and submitted:

Code: Select all

<!-- { * Start Search, the input "Submit" is using an image, CSS: div#search input.search-button * }
          <div id="search" class="core-float-right">
            {search search_method="post"}
          </div>
{ * End Search * }
-->       
I also put spaces between { and * and * and }
and similar commented out { news } tag,
but the error persists.
Cobol74
New Member
New Member
Posts: 6
Joined: Thu Apr 25, 2013 10:17 pm

Re: How to uninstall or at least deactivate News and Search

Post by Cobol74 »

Thank you.
The problem is solved.
I had to comment out all smarty tags inside html comments
Post Reply

Return to “The Lounge”