• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pager->links() not work in view layouts

#1
I am using beta-1 and try to print pagination links using "pager->links()" or "pager->simpleLinks()" but nothing comes out if I do that within "this->section('content')" .

NOTE: Without View layouts works fine.

Same code as the one used in the user guide:
Code:
<!-- LAYOUT -->
<!doctype html>
<html>
<body>
<?= $this->renderSection('content') ?>
</body>
</html>

Code:
<!-- TEMPLATE -->
<?= $this->extend('layout') ?>
<?= $this->section('content') ?>
<?= pager->links() ?>
<?= $this->endSection() ?>

Kind regards and congratulations for this best jobs!
Reply

#2
Fixed succesfully by lonnieezell see https://github.com/codeigniter4/CodeIgni...05e1a2c259

Thanks.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.