×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
How to override list view navigation?
Rene Kreijveld
Yeni Üye
Posts: 7
8 yıl 2 hafta önce - 8 yıl 2 hafta önce #1442
Yazan: Rene Kreijveld
René Kreijveld, Joomla! professional, webdeveloper at DSD business internet
How to override list view navigation?, Rene Kreijveld tarafından oluşturuldu
I created a component that has on the frontend the default list view below the list. See example here: filtertest.joomlademo.nl/magazines
Unfortunately when you use this default navigation, you loose the ordering settings. Try for yourself by sorting the list on the title column and then use the navigation at the bottom to go to the next page. You will see the sort order is lost then. To solve this I need to override the default navigaton. In the list view the navigatin is shown with his code:
So I can I override that to insert my own code there? I want to take a copy of the original and modify that to my needs.
Unfortunately when you use this default navigation, you loose the ordering settings. Try for yourself by sorting the list on the title column and then use the navigation at the bottom to go to the next page. You will see the sort order is lost then. To solve this I need to override the default navigaton. In the list view the navigatin is shown with his code:
<?php echo $this->pagination->getListFooter(); ?>
So I can I override that to insert my own code there? I want to take a copy of the original and modify that to my needs.
René Kreijveld, Joomla! professional, webdeveloper at DSD business internet
Son Düzenleme: 8 yıl 2 hafta önce Düzenleyen:Rene Kreijveld
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.071 saniye