21
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/6 22:42

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


Sorry Mamba, but I edited the post after that you was placed the link to the SVN and also missing do some necessary changes.

We also need to add the translation spanish-utf completed in a before post.

Sorry

22
Mamba
Re: extCal 2.24 RC ready for testing
  • 2011/5/6 23:01

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I'll be working on extCal and other modules this weekend, so post any changes that should be still done...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

23
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/6 23:42

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


To avoid confusion

All changes made in to files are in post # 19 and the link to the complete translation into Spanish-UTF8 is in post # 18

24
demian
Re: extCal 2.24 RC ready for testing
  • 2011/5/7 0:30

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


is the upcoming events block problem in 2.22 fixed ?

https://xoops.org/modules/newbb/viewtopic.php?post_id=338338#forumpost338338



25
josespi
Re: extCal 2.24 RC ready for testing
  • 2011/5/8 5:29

  • josespi

  • Just popping in

  • Posts: 31

  • Since: 2004/11/29


FIX problem in the upcoming events block

File: \modules\extcal\class\event.php
Change line 342
$criteriaNoRecur->add(new Criteria('event_end'$now'>='));


for
$criteriaNoRecur->add(new Criteria('event_start'$now'>='));



and change line 346
$criteriaRecur->add(new Criteria('event_recur_end'$now'>='));


for
$criteriaRecur->add(new Criteria('event_recur_start'$now'>='));



José Espinoza

26
Mamba
Re: extCal 2.24 RC ready for testing
  • 2011/5/8 5:55

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Thanks, Jose. Updated in SVN
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

27
demian
Re: extCal 2.24 RC ready for testing
  • 2011/5/8 6:55

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


thank you Josepi
--------------------------------------

i have one feature request ..hope this can be implemented in the future in all blocks (upcoming, random, today etc)...

let say i have an event date from 30th - 31st May or 31st May to 6th June

the block will display 30 -31/5/2011 and 31/5/2011 - 06/06/2011

right now it will only display start date...

IMO, the end date should also be display in the admin section for better references and display

Thank you keep up the good work

28
Mazarin
Re: extCal 2.24 RC ready for testing
  • 2011/5/8 8:20

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


While I agree that there should be an option to turn on end date in the block, it is quite easy to do manually.

Just use the tag
<{$event.formated_event_end}>

in the template (extcal/templates/blocks/extcal_block_upcoming.html).

29
demian
Re: extCal 2.24 RC ready for testing
  • 2011/5/8 8:38

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


heres what i did so far
<{$event.formated_event_start}>      
<{if 
$event.formated_event_start==$event.formated_event_end}>
        <{else}> - <{
$event.formated_event_end}>
          <{/if}>


i have an event from 29-31st may 2011

it will show as 29/5/2011 - 31/5/2011

i would like it to be display as 29 - 31/5/2011 if that possible

im still trying to figure this out..

30
Mazarin
Re: extCal 2.24 RC ready for testing
  • 2011/5/9 6:16

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


I guess that would require a small hack to the block code as well as adjusting the template, to establish if it is a multi day event and then apply a formatting to only show the starting day and the full end date.

Also, slightly related to this, IIRC there is a bug in the preferences so some of the different date formats doesn't actually change the format for the views they say.

Login

Who's Online

203 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits