I thought at first it might have been a module conflict but I loaded a clean site with nothing but view and ctools and clean pagination module.
With clean pagination I enabled the addition of the head elements to show prev /next

"Add next/prev links to head
Add pagination information to header. This will add rel="prev" and rel="next" links to the head of every page with a pager on it, regardless of whether or not it is using cleanpager."

https://www.drupal.org/project/cleanpager

I switched between several themes and all work except Booststrap. Does Boostrap affect the head elements? Is there a way around it?

Thanks!

Comments

netentropy created an issue. See original summary.

markhalliwell’s picture

Status: Active » Closed (works as designed)
Related issues: +#2284283: Add "Ignore theme hook registry alters"

You're using a module that is doing the theme's job (overriding a theme function). You can have quite unexpected results like this when a module starts doing stuff like this and a comprehensive theme (like Bootstrap) also overrides it. If this functionality is needed, I would implement an override in my sub-theme that merges the two. There's no other way to get around this at the moment.

netentropy’s picture

I really appreciate you getting back to me.

I tried doing that first and it worked on every theme but bootstrap. That is when I tried the clean pagination module. I'd love to use Bootstrap theme. This is a requirement due to the 10,000 chemistry questions answered on my site and all the pagination.

Here is the code I tried to use in the subtheme and has served me well for a long time.

http://butlerraines.com/post/views-pagination-seo-drupal-7

I modified this code in 2012

http://pivica.me/blog/how-create-drupal-pagination-use-rel-next-and-rel-...

Is there a particular place it needs to go in sub theme besides template.php ?