Re: Re: Text label in Progress2 does not work anymore. Please help

From: Date: Sun, 13 Apr 2008 21:33:20 +0000
Subject: Re: Re: Text label in Progress2 does not work anymore. Please help
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28799@lists.php.net to get a copy of this message
Totally agree with your analysis !
Yes, I found how to fix it too. very simple, the $this->_status = 'show'; should be set at the top of the toHtml method and not in the display() method Laurent Laville wrote:
Hello Dmitri, I"ve verified, and you've found a real bug. All version of HTML_Progress2 from 2.0.0 until 2.3.0 are impacted. HTML_Progress 1.2.5 (even if unmaintened now) si not impacted by this bug. Please open a bug in PEAR tracker http://pear.php.net/package/HTML_Progress2/bugs Regards Laurent
Hello! I am trying to implement a progress bar on my site. Everything works fine so far, except that the dynamic updating a text label does not work The problem is that even on your example the text label is not working. Look at this example on your site: http://www.laurent-laville.org/pear/HTML_Progress2/examples/template/itxstatic.php I see the text label nn the screenshot that you provides here: (Installation in progress....) http://www.laurent-laville.org/themes/default/img/modules/pear/progress2/itxstatic.png but it does not appear when you run the actual example. I think somethinkg must have changed in the api? Please advise me how to make the text label update along with the progress bar. Thank you.


« previous php.pear.general (#28799) next »