Fixed php errors associated with $data['type'] and removed Basics link