I have a question on how to modify the pager. Specifically, I wish to remove the 'first' and 'last' elements so that it just shows the page numbers and the previous and next buttons (specific client request). I have found the API reference for the pager but not sure where or how I should modify, since Omega has a custom way of adding preprocess etc. Normally, I would put a new function called THEMENAME_pager etc in the template.php file, but not sure where to put it in the Omega custom set up.

Any suggestions / examples would be greatly appreciated.

Comments

dkre’s picture

li.pager-last,
li.pager-first {
    display:none;
}
drupal a11y’s picture

How and where can I add missing "title"-tags?

drupal a11y’s picture

A great module for "Pager"-Theming is "Pagerer" (http://drupal.org/project/pagerer), but unfortunately it does not work with the Omega-Pager-Functions.

Can I disable these functions via UI ?

mondrake’s picture

@mori

I am the developer/maintainer of Pagerer.

Recently I made some changes to Pagerer in order to get it working with Tao-based Rubik theme. See #1924022: Improve interaction with themes/modules that already override Drupal's core pager functions. This is all in the 7.x-1.1-beta2 version now. Beside the module, some changes were needed to the CSS as well, but at the end the result is pretty decent, see screenshot in comment #14 there.

I gave a try to Omega 3.1 with Pagerer 7.x-1.1-beta2 .... looks like the Pagerer functionalities are there, but obviously here again some styling would be needed to get to visually acceptable results - which I won't do (I am not a themer), but if anyone want to give a try and report here or in the Pagerer issue queue, I'd be happy to know about!

Cheers