Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

How can I get a Breadcrumb?

$
0
0

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.. 


Viewing all articles
Browse latest Browse all 2504

Trending Articles