Closed (fixed)
Project:
Zen
Version:
6.x-1.1
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2009 at 17:04 UTC
Updated:
18 Aug 2013 at 08:36 UTC
I am using the zen-6.x-1.1 theme with a subtheme called tennis and I am having difficulty overriding the views_mini_pager in my template.php.
When I apply the override the arrows for next[>>] and previous [<<] disappear.
However if I set my site's theme to garland for example and then apply the override to it's template file it works.
I found this issue, but it did not help: http://drupal.org/node/503062
Does anyone have any idea?
Comments
Comment #1
luco commentedweird behaviour. same here.
tried overriding the pager function but it disappeared entirely.
Comment #2
johnalbinI'm not sure exactly what you did (since you don't say), but as long as you overrode Views' theme function properly, there should be no problem. See the instruction on how to do that in the theme guide: http://drupal.org/node/457740
Comment #3
jon nunan commentedI had this problem, my template.php file was encoded as ANSI not UTF-8, so the arrows (‹‹) encoded in ANSI tripped up check_plain which lead to it generating links with no link text.
Not sure if I accidentally changed the encoding to ANSI instead of UTF-8 for template.php or if it came that way....
Comment #4
dwb17 commentedI believe that this issue can be resolved if your template.php file is in UTF-8 encoding.
Comment #5
shruti.sheth commentedHi,
I tried to override mini pager for zen 6.x-1.1 and it did work fine.
-> Views version used is views-6.x-3.0-alpha3
You may try the following steps, if it can be useful.
1. Please copy the function from sites/all/modules/contrib/views/theme/theme.inc to your custom template.php file and replace theme in
"function theme_views_mini_pager" to "function (your custom theme name)_views_mini_pager"
2. Now any changes made in the above function will override the mini pager behavior.
3. I followed this steps and it worked properly.
4. Please do not forget to copy the templates from sites/all/themes/contrib/zen/zen to your custom theme.
Thanks.
Comment #6
deggertsen commentedChanging to UTF-8 encoding fixed it for me.
Comment #7
johnalbin