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

Submitter:  Sigurd Nes <sigurdne>
Submitted:  Wed 28 Mar 2007 12:32:58 PM UTC
   
 
Category:  None Item Group:  SVN trunk (dev code)
Severity:  4 - Important Priority:  5 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  maat Open/Closed:  Closed
Component Version:  SVN Operating System:  None
Reproducibility:  None Planned Release:  0.9.18.000
Fixed Release: 

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

Thanks

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

I thing the problem is solved.

plz check :)

Pascal Vilarem <maat>
Group Member
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>
Group 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>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-09 sigurdne StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code