Jump to content

MarkupPagerNav always output prev and next links


interrobang
 Share

Recommended Posts

I need to output the prev/next links on all pages, even on the first/last page, but with an additional class "disabled". Whats the best way to get an output like this? Any idea how to change my output with a hook? Or should i just copy/rename the module and modify it to my needs?

Link to comment
Share on other sites

Since this module doesn't have a toggle for that particular need, you might take one of these routes: 

  • copy the module files into /site/modules/MarkupPagerNavCustom/, modify it directly and install. 
  • str_replace or preg_replace in the output it gives you, to modify it according to what you need (i.e. adding next/prev links)
  • you could always prepend/append the next/prev links with jQuery pretty easily. 
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...