Topic by Haruki Maejima
I will create a breadcrumb as follows.
FAQ > "category name "> "answer name"
If I click a category, I want get the category name from category name.
I have alredy used ServiceCategory Object as follows.
class ConnectPHPTest extends \RightNow\Libraries\Widget\Base {
function __construct($attrs) {
parent::__construct($attrs);
}
function getData() {
$pageCategory = \RightNow\Utils\Url::getParameter('c');
$pageCategoryTest = $this->CI->model('Prodcat')->get($pageCategory);
$this->data['category'] = $pageCategoryTest;
}
}
}
However, I can't get category name..