Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Build Dynamic Breadcrumbs

I would like to be able to do dynamic breadcrumbs.

i want to show the name of the view in it.



42.3k
Accepted
answer
<ul>
{#
   <li><a href="{{ url(dispatcher.getModuleName()~'/index/index') }}">{{ dispatcher.getModuleName() }}</a></li>
#}
   <li><a href="{{ url(dispatcher.getModuleName()~'/'~dispatcher.getControllerName()~'/index') }}">{{ dispatcher.getControllerName() }}</a></li>
   <li>{{ dispatcher.getActionName() }}</li>
</ul>

Thanks!! so much! it work!