The following snippet will let you disable sidebars and widgets on page template in WordPress.