hey there,

I'm trying to customize Zen's pager links (first, previous, next and last). tried the function theme_pager but all it did was make those links vanish.

any help is greatly appreciated.

cheers,
Luciano

Comments

ladybug_3777’s picture

Component: PHP code » layout.css

I think there is some sort of bug with the << < and > >> characters. Seems to be an issue with the Omega theme too. If you remove those you may have better luck. Take a look at this post:

http://drupal.org/node/1401016

luco’s picture

Status: Active » Closed (fixed)

yeah, that's me on that issue as well. :)

anyway I ended up discovering that, and I quote,

template.php is saved with ANSI encoding instead of UTF-8. that leads to errors when you try to customise how your pager is going to look.

so all you have to do is change the file's character encoding and voilà.

ladybug_3777’s picture

oh so it is! ha! I didn't even look at the user name. :-)

luco’s picture

hehehe, that's ok. usability 101: eyes blaze across the screen.

if you ever get the chance, look up eyetracking videos. mind-blowing stuff, really.