Open mano87 opened 7 years ago
Hello, i have integrated two links into a template as follows.
<div class="btn-group" role="group"> <a class="btn btn-default <?php echo ($this->url() == '/education/student-deregistration') ? 'active' : ''; ?>" href="<?php echo $this->url('education.student-deregistration', ['section' => null]); ?>">Vorklinik</a> <a class="btn btn-default <?php echo ($this->url() == '/education/student-deregistration/clinical') ? 'active' : ''; ?>" href="<?php echo $this->url('education.student-deregistration', ['section' => 'clinical']); ?>">Klinik</a> </div>
And This is my route.
class RouterDelegatorFactory implements DelegatorFactoryInterface { public function __invoke(ContainerInterface $container, $name, callable $callback, array $options = null) { $application = $callback(); $application->route('/education/student-deregistration[/{section:clinical|preclinical}]', StudentDeregistrationAction::class, ['GET'], 'education.student-deregistration'); return $application; } }
Now I have the following problems:
@weierophinney @RalfEggert
This repository has been closed and moved to laminas/laminas-view; a new issue has been opened at https://github.com/laminas/laminas-view/issues/11.
Hello, i have integrated two links into a template as follows.
And This is my route.
Now I have the following problems:
@weierophinney @RalfEggert