Hallo leute,
wie kann ich die FAQ nicht nach ID sortieren sondern alphabetisch (ASC question)?
danke im voraus.
gruß
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
1 | URL: asdasd.de/faq/index/show/id/ |
1 | faq\fiews\index\index.php |
1 | <li class="list-group-item"><a href="<?=$this->getUrl('faq/index/show/id/'.$faq->getQuestion()) ?>"> |
1 | faq\controllers\index.php |
1 | ->add($faq->getQuestion(), ['action' => 'show', 'id' => $faq->getId()]); |
1 | faq/index/show/id/ |
1 | faq/index/show/test/ |
1 | /faq/index/show/id/1 |
1 | /faq/index/show/id/test%20test |
1 2 | <!-- <li class="list-group-item"><a href="/faq/index/show/<?=$this->escape($faq->getQuestion()) ?>"><b><?=$this->escape($faq->getQuestion()) ?></b></a></li> --> <li class="list-group-item"><a href="<?=$this->getUrl('faq/index/show/'.$category->getTitle().'/'.$faq->getId()) ?>"><b><?=$this->escape($faq->getQuestion()) ?></b></a></li> |
1 2 | //->add($faq->getQuestion(), ['action' => 'show', 'id' => $faq->getId()]); ->add($faq->getQuestion(), ['action' => 'show' => $category->getTitle() => $faq->getId()]); |
Geschlossen | ||
![]() |
Zurück zu Module und Modifikationen |