Active
Project:
Omega
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2012 at 23:25 UTC
Updated:
14 Mar 2013 at 19:45 UTC
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
Comment #1
dkre commentedComment #2
drupa11y commentedHow and where can I add missing "title"-tags?
Comment #3
drupa11y commentedA 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 ?
Comment #4
mondrake@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