1
bbsheep
extCal -- Week starting with sunday ?
  • 2004/9/12 0:11

  • bbsheep

  • Just popping in

  • Posts: 11

  • Since: 2004/9/4 1


how do i make the calendar week in extCal to start with sunday insted of monday ?

2
sbkiller
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 0:24

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


I'm trying to hack it but this one is harder...:(

3
bbsheep
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 0:29

  • bbsheep

  • Just popping in

  • Posts: 11

  • Since: 2004/9/4 1


yeah your tellin me. i spent hours trying to figure out how to change it.

4
sbkiller
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 0:34

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


First of all I moved the Week name by editing the templates but the days numbers didn't move with it so I have to keep of hacking in the module.

Simply goto the Template of the extcal (extcal_index.html)

and move up the Sunday line to above the Monday one.

This is the first step.

5
sbkiller
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 0:41

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Finally I got it!

Hack in the module index.php in the extcal module folder

change the line 130

$cell_count 1;


to

$cell_count 0;


save it and upload it.

6
bbsheep
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 15:14

  • bbsheep

  • Just popping in

  • Posts: 11

  • Since: 2004/9/4 1


do you still need to do the first change ?

7
zoullou
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 15:31

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hi,

I will add this feature in eXtcal V2. They will have an option in module preference to switch monday/sunday start.
Moreover you will define date format (dd/mm/yyyy or mm/dd/yyyy or other if you want )

See you

8
sbkiller
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 16:26

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Quote:
do you still need to do the first change ?


Yes, you have to do the step one and then step two.

9
twitaman
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 17:09

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


This looks like a great mod. Thanks for the info on changing the first day of the week to Sunday in the month view. But does anyone know how to get the minical view to start with Sunday?

10
sbkiller
Re: extCal -- Week starting with sunday ?
  • 2004/9/12 17:19

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


lol, another one. I don't have mimical sry

Login

Who's Online

147 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits