bugphpGroupWare - Bugs: bug #19437, Template problem

 
 

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

bug #19437: Template problem

Submitted by:  Sigurd Nes <sigurdne>
Submitted on:  Wed 28 Mar 2007 12:32:58 PM UTC  
 
Item Group: SVN trunk (dev code)Category: None
Severity: 4 - ImportantPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Pascal Vilarem <maat>Open/Closed: Closed
Component Version: SVNOperating System: None
Reproducibility: NonePlanned Release: 0.9.18.000
Fixed Release: 

Mon 09 Apr 2007 09:59:18 PM UTC, comment #4:

Thanks

Sigurd Nes <sigurdne>
Project Member
Mon 09 Apr 2007 06:27:45 PM UTC, comment #3:

I thing the problem is solved.

plz check :)

Pascal Vilarem <maat>
Project MemberIn charge of this item.
Wed 28 Mar 2007 05:40:19 PM UTC, comment #2:

That would normally work - but is not sufficient this time.
The root seems to be scrambled in the function display_header()
Of course one can use reference and reset the root to the correct location within the function display_header() - after the echo parse_navbar();

Regards

Sigurd

Sigurd Nes <sigurdne>
Project Member
Wed 28 Mar 2007 01:59:32 PM UTC, comment #1:

Or better ... just use a reference:

$this->t =& $GLOBALS['phpgw']->template;

That way we keep only one instance in memory :)

Dave Hall <skwashd>
Project Administrator
Wed 28 Mar 2007 12:32:58 PM UTC, original submission:

Hi
There is a template problem for verdilak:
somehow the template root is lost after setting it in ged_ui.

A sollution:
You can change :
$this->t = $GLOBALS['phpgw']->template;
to
$this->t = clone($GLOBALS['phpgw']->template);

Regards

Sigurd

Sigurd Nes <sigurdne>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by maat (Posted a comment)
  • -unavailable- added by skwashd (Posted a comment)
  • -unavailable- added by sigurdne (Submitted the item)
  •  

    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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Apr 2007 09:59:18 PM UTCsigurdneStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1