bugphpGroupWare - Bugs: bug #7238, some kind of problem with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7238: some kind of problem with etemplates that affects eT based apps like infolog

Submitted by:  Johnson <jecinc>
Submitted on:  Tue 13 Jan 2004 10:03:38 PM UTC  
 
Item Group: 0.9.16RC2Category: eTemplates
Severity: 1 - WishPriority: 1 - Later
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: NonePlanned Release: None
Fixed Release: 

Wed 04 Feb 2004 03:45:21 PM UTC, comment #5:

Hum the following line is better :

CreateObject('phpgwapi.Template',PHPGW_APP_TPL);

instead of
CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi'));

So better to fix with this :).

Caeies <Caeies>
Project Administrator
Mon 02 Feb 2004 02:55:37 PM UTC, comment #4:

according to other users, the one line edit provided by Caeies is the fix to this problem

Johnson <jecinc>
Thu 15 Jan 2004 10:47:35 AM UTC, comment #3:

Oh, I forget to say that this is a bug in phpgwapi ...
the file is under phpgwapi/inc/class.javascript.inc.php

regards,
Caeies

Caeies <Caeies>
Project Administrator
Thu 15 Jan 2004 10:45:51 AM UTC, comment #2:

I found what is probably in cause of this.
Take a look at class.javascript.inc.php

The constructor use $this->t = CreateObject('phpgwapi.Template', 'phpgwapi'); which seems false according to what is done in the phpgwapi.Template.

you need to replace this by
$this->t = CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi'));

to make it works (I think).

Johnson Please confirm my correction (or not).

Thanks for reading and updating this stuff quickly :)
regards,
Caeies

Caeies <Caeies>
Project Administrator
Wed 14 Jan 2004 12:05:26 PM UTC, comment #1:

Like on the forum, I think that this is related to a locale problem (like using french and d/M/y, notice the 'M' which was not supported before jscalendar came to live again).

I will try to look further in this when I have time.
Caeies.

Caeies <Caeies>
Project Administrator
Tue 13 Jan 2004 10:03:38 PM UTC, original submission:

refer to the patch supplied on the forum .. looks like something to do with the patch to enable jscalendar

Johnson <jecinc>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Wed 03 Mar 2004 09:08:27 PM UTCjecincOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1