I'm new to Zend Framework2 and I´m asking for advice for the following situation:
I´m using the ZF2 Breadcrumbs Helper to create breadcrums on my project and this code:
//breadcrumbs.phtml
echo $this->navigation('Navigation')
->breadcrumbs()
->setLinkLast(false) // link last page
->setMaxDepth(7) // stop at level 7
->setMinDepth(0) // start at level 0
->setSeparator(' »' . PHP_EOL); // separator with newline
when rendered looks like this:
Home » Lorem Ipsum1 » Lorem Ipsum2 » Current Crumb
Exploring the source code:
<div id="breadcrumbs">
<a href="/">Home</a>
»
<a href="/">Lorem Ipsum1</a>
»
<a href="/">Lorem Ipsum2</a>
» Current Crumb
</div>
So, my question is: using the Breadcrumb Helper how can I get the following source code to be able to style the Breadcrumbs the way I want to?
<div id="breadcrumbs">
<ul id="breadcrumbs">
<li><a href="">Home</a></li>
<li><a href="">Lorem Ipsum1</a></li>
<li><a href="">Lorem Ipsum2</a></li>
<li><a href="" class="current">Current Crumb</a></li>
</ul>
</div>