Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: [-1] 1 - 2

Bottom
Help with the Pager
  • Posted: 23.12.2005, 20:22
     
    Slugger
    rank:
    Professional Professional
    registered:
     March 2003
    Status:
    offline
    last visit:
    13.08.06
    Posts:
    1185

    jmvedrine

    Buy Slugger, if I remember well pnComic is totally templated so it don"r uses pnhtml at all...


    Ça Va,

    The pnHTML hack will not work with pnRendered modules. I did this because I was unhappy with the news module which still uses pnHTML. :(

    Regardless of how the output is generated, the logic for any pager remains the same. How many pages (determined by dividing total items by items per page) and what page are you on (or, put another way, what is the starting item number on a given page).

    It should be easy to take the above and modify it to a new plugin or modify the existing plugin which sucks. Replacing the "<<" and ">>" with images or alternate text would also be quite easy to do; however, If I were going to do it, I'd get the language first and pull those images, and/or text, from the language files because, in many cases, the images and/or text will be language specific.

    A toute a l'heure!

    Slugger
  • Posted: 25.12.2005, 02:48
     
    imoon
    rank:
    Softmore Softmore
    registered:
     August 2002
    Status:
    offline
    last visit:
    23.05.08
    Posts:
    90
    how about using modifier plugin?
    get the output of pager and filter it with pre_reg?

Goto page: [-1] 1 - 2

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula