Statistics

We have 1 guest online

SVTechie Recommends

powered_by.png, 1 kB
SVTechie
Welcome, Guest
Please Login or Register.    Lost Password?
BlogCal 1.5.4 (1.6) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: BlogCal 1.5.4 (1.6)
#78
Libra07 (User)
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
First dy of week at BlogCal 2 Years, 6 Months ago Karma: 0  
Hi! I installed the BlogCal and BlogSidebar. I like this calendar.
Everything works, but now I have a problem. The week begins with
sunday (V) now, but I would like to set this to monday (H).
And there is a space betven sunday (V) and monday (H).
Can somebody help me?
I try to set this in the mod_blogcal.php: $firstday=1
The default was 0. But it doesn't works.
The locale settings is hu_HU in my web.

URL: http://www.beatsoft.hu

Can somebody help me to set this? Thank you!

Libra07
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#79
SVTechie (Admin)
Admin
Posts: 18
graph
User Offline Click here to see the profile of this user
Re: First dy of week at BlogCal 2 Years, 6 Months ago Karma: 0  
QUOTE:
Hi! I installed the BlogCal and BlogSidebar. I like this calendar.
Everything works, but now I have a problem. The week begins with
sunday (V) now, but I would like to set this to monday (H).
And there is a space betven sunday (V) and monday (H).
Can somebody help me?
I try to set this in the mod_blogcal.php: $firstday=1
The default was 0. But it doesn't works.
The locale settings is hu_HU in my web.

URL: http://www.beatsoft.hu

Can somebody help me to set this? Thank you!

Libra07


Regarding space between sunday and monday, this is problem that BlogSidebar doesn't work with some templates. Try to change module/div prefix and header from configuration menu. it is going to be trial and error method though. Whatever works for you, please post it here so that others can benefit as well.

For changing first day of week, you have to hack generate_calander function which should be easy.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#80
Libra07 (User)
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Re: First dy of week at BlogCal 2 Years, 6 Months ago Karma: 0  
I tested my template and other templates. You are right!
The space between sunday and monday was only a template error.
I try to repair this. If I finished, I will post it here to benefit the others.

Thx!


QUOTE:
QUOTE:
Hi! I installed the BlogCal and BlogSidebar. I like this calendar.
Everything works, but now I have a problem. The week begins with
sunday (V) now, but I would like to set this to monday (H).
And there is a space betven sunday (V) and monday (H).
Can somebody help me?
I try to set this in the mod_blogcal.php: $firstday=1
The default was 0. But it doesn't works.
The locale settings is hu_HU in my web.

URL: http://www.beatsoft.hu

Can somebody help me to set this? Thank you!

Libra07


Regarding space between sunday and monday, this is problem that BlogSidebar doesn't work with some templates. Try to change module/div prefix and header from configuration menu. it is going to be trial and error method though. Whatever works for you, please post it here so that others can benefit as well.

For changing first day of week, you have to hack generate_calander function which should be easy.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#81
SVTechie (Admin)
Admin
Posts: 18
graph
User Offline Click here to see the profile of this user
Re: First dy of week at BlogCal 2 Years, 6 Months ago Karma: 0  
You may want to modify mod_blogcal.php. Look for <th abbr ...> tag and replace it with <th width="14%" abbr ...> in mod_blogcal.php.


QUOTE:
I tested my template and other templates. You are right!
The space between sunday and monday was only a template error.
I try to repair this. If I finished, I will post it here to benefit the others.

Thx!


QUOTE:
QUOTE:
Hi! I installed the BlogCal and BlogSidebar. I like this calendar.
Everything works, but now I have a problem. The week begins with
sunday (V) now, but I would like to set this to monday (H).
And there is a space betven sunday (V) and monday (H).
Can somebody help me?
I try to set this in the mod_blogcal.php: $firstday=1
The default was 0. But it doesn't works.
The locale settings is hu_HU in my web.

URL: http://www.beatsoft.hu

Can somebody help me to set this? Thank you!

Libra07


Regarding space between sunday and monday, this is problem that BlogSidebar doesn't work with some templates. Try to change module/div prefix and header from configuration menu. it is going to be trial and error method though. Whatever works for you, please post it here so that others can benefit as well.

For changing first day of week, you have to hack generate_calander function which should be easy.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#82
SVTechie (Admin)
Admin
Posts: 18
graph
User Offline Click here to see the profile of this user
Re: First dy of week at BlogCal 2 Years, 6 Months ago Karma: 0  
Attached is modified .php (just for you) with following modification
* <th> includes width specification
* First Day is Monday instead of sunday.

QUOTE:
You may want to modify mod_blogcal.php. Look for <th abbr ...> tag and replace it with <th width="14%" abbr ...> in mod_blogcal.php.


QUOTE:
I tested my template and other templates. You are right!
The space between sunday and monday was only a template error.
I try to repair this. If I finished, I will post it here to benefit the others.

Thx!


QUOTE:
QUOTE:
Hi! I installed the BlogCal and BlogSidebar. I like this calendar.
Everything works, but now I have a problem. The week begins with
sunday (V) now, but I would like to set this to monday (H).
And there is a space betven sunday (V) and monday (H).
Can somebody help me?
I try to set this in the mod_blogcal.php: $firstday=1
The default was 0. But it doesn't works.
The locale settings is hu_HU in my web.

URL: http://www.beatsoft.hu

Can somebody help me to set this? Thank you!

Libra07


Regarding space between sunday and monday, this is problem that BlogSidebar doesn't work with some templates. Try to change module/div prefix and header from configuration menu. it is going to be trial and error method though. Whatever works for you, please post it here so that others can benefit as well.

For changing first day of week, you have to hack generate_calander function which should be easy.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#84
Libra07 (User)
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
Re: First dy of week at BlogCal 2 Years, 6 Months ago Karma: 0  
Hello!

I installed the "Libra" version of BlogCal.
The first day of week is Monday (H) now. Great!!!

So the modification was this to set the first day of week...
From:
generate_blogcal(date('Y', $time), $month, $days, 1, NULL, 0, $pn, $currBg ...
To:
generate_blogcal(date('Y', $time), $month, $days, 1, NULL, 1, $pn, $currBg ...

But still there is a space betwen the first day and second day of the week.
This ... <th width="14%" abbr ... wasn't enough. I removed.
So I modified a previous row to set the width of the calendar...
I thing, the width of the left panel of my template is too large.

So the modification is this to set the width of the calendar...
From:
$calendar = '<table width=100% align=center>'."\n". ...
To:
$calendar = '<table width=60% align=center>'."\n". ...


So now everything is beautiful!!!
Thank you very much for the help.

Libra07

QUOTE:
Attached is modified .php (just for you) with following modification
* <th> includes width specification
* First Day is Monday instead of sunday.

QUOTE:
You may want to modify mod_blogcal.php. Look for <th abbr ...> tag and replace it with <th width="14%" abbr ...> in mod_blogcal.php.


QUOTE:
I tested my template and other templates. You are right!
The space between sunday and monday was only a template error.
I try to repair this. If I finished, I will post it here to benefit the others.

Thx!


QUOTE:
QUOTE:
Hi! I installed the BlogCal and BlogSidebar. I like this calendar.
Everything works, but now I have a problem. The week begins with
sunday (V) now, but I would like to set this to monday (H).
And there is a space betven sunday (V) and monday (H).
Can somebody help me?
I try to set this in the mod_blogcal.php: $firstday=1
The default was 0. But it doesn't works.
The locale settings is hu_HU in my web.

URL: http://www.beatsoft.hu

Can somebody help me to set this? Thank you!

Libra07


Regarding space between sunday and monday, this is problem that BlogSidebar doesn't work with some templates. Try to change module/div prefix and header from configuration menu. it is going to be trial and error method though. Whatever works for you, please post it here so that others can benefit as well.

For changing first day of week, you have to hack generate_calander function which should be easy.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop