• Register
Plug-in Tutorial Build an EC-CUBE plug-in

Top Commentators

114

1

EC Mike

SHOGUNSHOGUN

32

2

hrbabu

SAMURAISAMURAI

29

3

Sumant Jha

SAMURAISAMURAI

29

4

justcubed

SAMURAISAMURAI

21

5

Ashok Kafle

SAMURAISAMURAI

21

6

shahith

SAMURAISAMURAI

14

7

Jeemusu

KABUKIKABUKI

14

8

Yangsin

KABUKIKABUKI

9

9

Zaw Hlaing Bwar

GEISYAGEISYA

8

10

Fei Liu

GEISYAGEISYA

Ranking Key

  • FUJISANFUJISAN1,000+ posts
  • SAKURASAKURA500+ posts
  • SHOGUNSHOGUN100+ posts
  • NINJYANINJYA50+ posts
  • SAMURAISAMURAI20+ posts
  • KABUKIKABUKI10+ posts
  • GEISYAGEISYALess than 10 posts

is there a pagination function in ec cube ?

0 votes
is there a pagination function in ec cube ?
asked 2013-10-07 by krishfran (320 points) KABUKIKABUKI

1 Answer

0 votes
Yes, EC Cube can do pagination. The object you're looking for is probably SC_PageNavi (data/class/SC_PageNavi) and you should see it calledin your product list page (LC_Page_Products_List.php) like so: $this->objNavi = new SC_PageNavi_Ex(); If you check that code, it should be enough to get you started modifying it or implementing it elsewhere.

And I believe you can all the smarty variable $tpl_strnavi to access that SC_PageNavi object from your list tpl file.

Hope that helps.
answered 2013-10-09 by justcubed (1,120 points) SAMURAISAMURAI
edited 2013-10-09 by justcubed
...