Page 1 of 1

Error in calendar sidebar

Posted: Mon Oct 02, 2006 7:42 pm
by Percyweb
Hello.
i change theme Bex01 i have error in visualize my calendar check image please...
Image

error is in Saturday (Sá) in spanish.

how resolve my problem...

thanks for reply's

Re: Error in calendar sidebar

Posted: Mon Oct 02, 2006 10:11 pm
by garvinhicking
Hi!

Could you tell us the URL to your site? It seems it might be a UTF-8 / localization problem. Could you temporarily try to copy the "plugin_calendar.tpl" file from the carl_contest/ template folder into your bex01 directory and see if it makes a difference?

HTH,
Garvin

Posted: Tue Oct 03, 2006 2:28 am
by Percyweb
i open plugin_calendar.tpl, I cannot solve thi's problem :(

my site is www.percyweb.com

Posted: Tue Oct 03, 2006 4:12 pm
by garvinhicking
Hi!

What do you mean? What can't you solve? What's the problem with copying plugin_calendar.tpl?

Best regards,
Garvin

Posted: Tue Oct 03, 2006 11:58 pm
by Percyweb
hey man; of where I copy the file plugin_calendar.tpl, to where I must copy

Posted: Wed Oct 04, 2006 9:44 am
by garvinhicking
I wrote:

copy the "plugin_calendar.tpl" file from the carl_contest/ template folder into your bex01 directory.

Source file: /templates/carl_contest/plugin_calendar.tpl
Target file: /templates/bex01/plugin_calendar.tpl

Best regards,
Garvin

Posted: Wed Oct 04, 2006 6:36 pm
by Percyweb
Thanks for reply bro;

the plugin calendar is good in IE, but en Firefox no is good it unsquares, for name days Lun Mar Mie Jue Vie Sab Dom the text for the calendar is long.

exists another one plugin with these characteristics? Lu Ma Mi Ju Vi Sa Do ?

thanks for help.

sorry my english is very bad, i'm from spain :oops:

Posted: Thu Oct 05, 2006 11:49 am
by garvinhicking
Hi!

The problem is, that your spanish name for Saturday seems to contain a special character; in UTF-8 format that is a 2-byte character. Bex01 truncates the name after 2 characters; thus it would split your "a" character in half.

Sadly I know of no way to properly truncate the string in Smarty syntax; you would need to patch a config.inc.php for your template to do that.

Instead I would suggest you to use the plugin_calendar.tpl from carl_contest direcotry and then adjust the CSS code to make your calendar header smaller; you can do that by editing the style.css file and adding this:

Code: Select all

.serendipity_calendar td.serendipity_weekDayName {
font-size: 6pt;
}
or something like that?

HTH,
Garvin