71
SMEDrieben
Re: extCal 2.37 week names issue
  • 2013/8/4 11:58

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Dear Mamba,

Thanks for the testing and all the work !

I can reproduce all issues except one.

On my server of my (Dutch) ISP (Linux, php 5.3.25), it doesn't matter howe the setlocale is defined: weekday names are always returned in English. I tried nl_NL, no_NO, de_DE, nld_NLD, dutch_DUTCH): no differnce.

On WAMP, it works as expected.

I will contact my ISP.

Kind regards,

SMEDrieben



72
SMEDrieben
Re: Publisher 1.0 Final ready for testing
  • 2013/7/30 19:40

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


This is an example of a the text in the category header field:

[img align=right id=106]Handboek[/imgwritten by [b]drJ.ARaymakers[/b]. Op <a href="../extgallery/public-album.php?id=6" target="_top">3 december 2010 is het officieel  aangeboden</aF.RBacqué.

U kunt het handboek bestellen via <a href="http://www.uitgeverijparthenon.nl/parthenon_eijk.html" target="_blank"><i>Uitgeverij Parthenon</i></aof via uw eigen boekhandel.


In smartsection 2.13, it generates an image, in Publisher it doesn't (just gives the Xoops-codes. Html codes are correctly interpreted in Publisher.

By the way: I have to upgrade, since the admin of smartsection 2.13 doesn't work anymore in Xoops 2.5.6. or php 5.3 (I don't know).

SMEDrieben



73
SMEDrieben
Re: extCal 2.37 Final is released
  • 2013/7/29 19:55

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Unfortunately, both solutions (nl_NL, commenting out setlocale in xoops-version.php) don't work: I'am still getting English weekday names. I tried those both alone and combined.

Furthermore, in Windows, the nld_NLD combination has another disadvantage: the decimale separator becomes a comma (,) and not a dot (.) (e.g. in the modules overview page in the admin section). In the php-manual, there is a warning that this can disturb other scripts.

Wouldn't it be better to use the definitions for weekdays in Extcal from /language/yourlanguage/calendar.php ?

Kind regards,

SMEDrieben



74
SMEDrieben
Re: Publisher 1.0 Final ready for testing
  • 2013/7/29 19:42

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I just downloaded the this module, imported my smartsection data and only have a first impression:

- Xoops codes, such as [img], [b] are not recognized in the category description and category header fields. In Smartsection 2.13 this was no problem (interpreted correctly).

In the articles, this problem doesn't exist.

SMEDrieben.



75
SMEDrieben
Re: extCal 2.37 Final is released
  • 2013/7/29 19:06

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Dear Mamba,

Thanks for the work !

Quote:

This is what is happening:

the developer who wrote an update to extCal 2.28 set default for event_etablissement to 1, i.e. all old entries have now the new field "event_etablissement" added to them with the value 1. But there is no corresponding location in the table "_extcal_etablissement", so this generates an error.

The best way is to go to phpMyAdmin and change all "old" entries for "event_etablissement" to 0.


This solution works !

Quote:

setlocale(LC_ALL, 'de_DE');


My site is in Dutch, but that is not my point. In /language/nederlands/locale.php this setting was:

setlocale(LC_ALL'nl_NL');


Your solution works if I change to nld_NLD or dutch_DUTCH. At least in Windows.

My ISP is on Linux: there, those solutions don't work.

Solutions for Linux ?

Kinds regards,

SMEDrieben




76
SMEDrieben
Re: extCal 2.37 Final is released
  • 2013/7/28 11:50

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Dear Mamba,

Thanks for the work !

Quote:

These are my steps:

- install fresh extCal 2.22
- add couple of one-day events
- check the events if they work properly
- copy over files from extCal 2.37
- run update of the module
- clear XOOPS cache in Maintenance (modules/system/admin.php?fct=maintenance)
- go to the user side and check the events


I did all those steps, although the fresh install was done in the past. The other steps were repeated by me these days in Xoops 2.5.6.

Since I discovered that new events submitted in 2.37 don't have this problem, I tried to find out what happens after modifying events submitted in 2.22 (e.g. only one space added or so). And... after modifying, printing works normal. I think I will modify future events in this way, assuming that visitors won't print past events.

What about the day names issue ? I solved this in a amateurish way by adding 7 Ifs in the extcal_view_calendar-month.html (around line 15) and extcal_view_calendar-week.tml:

<tr style="text-align:center;" class="head">
        <{
foreachq item=weekdayName from=$weekdayNames}>
        <
td><{if $weekdayName=="Sunday"}>Zondag<{/if}>
            <{if 
$weekdayName=="Monday"}>Maandag<{/if}>
            <{if 
$weekdayName=="Tuesday"}>Dinsdag<{/if}>
            <{if 
$weekdayName=="Wednesday"}>Woensdag<{/if}>
            <{if 
$weekdayName=="Thursday"}>Donderdag<{/if}>
            <{if 
$weekdayName=="Friday"}>Vrijdag<{/if}>
            <{if 
$weekdayName=="Saturday"}>Zaterdag<{/if}>
<!--        <{
$weekdayName}>
-->
        </
td>
        <{/foreach}>


There has to be a way to get those names from the language files.

Thanks !

SMEDrieben



77
SMEDrieben
Re: extCal 2.37 Final is released
  • 2013/7/27 19:22

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


That is long ago........ I think from www.zoullou.net. Actually, I cannot find the original ZIP-file (I have to look into my system backups). I can make a copy of my 2.22-production files.

During the last few years, I changed some php-scripts because of a date issue and a version check (built in by Zoullou). All changes were described in the forum at this site. I didn't make changes in the database.

So, if necessary, I'll send you the files.

Thanks !

SMEDrieben




78
SMEDrieben
Re: extCal 2.37 Final: problem with printing events
  • 2013/7/27 13:07

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I did some research on the print problem mentioned above:

Quote:

Fatal error: Call to a member function getVars() on a non-object in C:/wamp/www/public_html/modules/extcal/class/ExtcalPersistableObjectHandler.php on line 534


It does happen with items entered in Extcal 2.22; printing works normal with events entered in 2.37

Any ideas ?

SMEDrieben



79
SMEDrieben
Re: extCal 2.37 Final: problem with printing events
  • 2013/7/26 19:54

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


In my case:

Xoops 2.5.6
Php 5.3.13. (Wampserver 2.2E, 64bits)

Extcal: upgrade from 2.22 to 2.37

SMEDrieben




80
SMEDrieben
Re: extCal 2.37 Final: problem with printing events
  • 2013/7/26 12:25

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


When I try to print an event, I get a fatal error:

Fatal errorCall to a member function getVars() on a non-object in C:/wamp/www/public_html/modules/extcal/class/ExtcalPersistableObjectHandler.php on line 534


Any idea about the cause and the solution ?

SMEDrieben




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 17 »



Login

Who's Online

219 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

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

Latest GitHub Commits