breadcrumbs in url (urlManager)

Hi everybody

I have nested tree with rubrics structure

i want url like:


I trying



But it overrides default rules like

http://site.local/controller/action etc

Any ideas?

Задача интересная. Сам сейчас над такой думаю. Но пока, что кроме своего контроллера с разбором урла

I’ve used prefix to solve this, so we have URL pattern:

"somePrefix/<structure:.*>" => "data/list"

URLs will looks like:


in the controller we split "structure" into nodes

$nodes = explode('/', Yii::app()->request->getParam('structure'));