Article ID: 2282, created on Oct 23, 2007, last review on Apr 17, 2012

  • Applies to:
  • Odin Business Automation Standard 3.3

Symptoms

I cannot find an option to disable subscription termination request option in Control Panel.

Resolution

In HSPcomplete 3.3.x you can remove this option using screen based customization.

Create module /var/opt/hspc-root/custom/screen/01_04_18_14.pm
with the following code:

#####################
package HSPC::Custom::Screen::01_04_18_14;

use strict;
use HSPC::Custom::Screen;

sub customize
{
        my ($stream) = @_;

        $stream =~
s#<a href="/cp/index.cgi/subscription/general/request_subscr_termination.*?</a>##g;
       
        return $stream;
}

1;

#################


Restart hspcd:

service hspcd restart

Link 'Request Subscription Termination' will be removed from the screen.

Also, edit screen tips on screen 01.04.18.14.01 in Control Panel. You can edit tips
by clicking on question mark icon in screen tips green box. This icon presents
on the screen if you login to Control Panel from Provider's Control Center, using button 'Login to CP'.


b91f0e51a581aafeed4e0834068081e0 400e18f6ede9f8be5575a475d2d6b0a6 95c731ef6bb58e30865e046f2135d4c1 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF