By: kapouer
Date: 2006-05-12
Time: 11:20
|
OnMergeField bug in tbs 3.0.1i think there's a bug line 693 of tbs_class.php, version 3.0.1 :
$ArgPi[1] = $Loc->SubName; $ArgPi[3] =& $Loc->PrmLst; $ArgPi[4] =& $Loc->PosBeg; $ArgPi[5] =& $Loc->PosEnd; should be, according to plugin_syntaxes : $ArgPi[1] = $Loc->SubName; $ArgPi[3] =& $Loc->PrmLst; $ArgPi[5] =& $Loc->PosBeg; $ArgPi[6] =& $Loc->PosEnd; am i correct ? |
By: Skrol29
Date: 2006-05-12
Time: 11:40
|
Re: OnMergeField bug in tbs 3.0.1You're right, there is a problem here.
And $ArgPi[2] is not defined! I will fix that soon, thanks. |
By: kapouer
Date: 2006-05-12
Time: 11:51
|
Re: OnMergeField bug in tbs 3.0.1reagrdin arg[2] :
IT IS DEFINED line 665 : if ($PlugIn = isset($this->_piOnMergeField)) $ArgPi = array('','',&$Value,0,&$this->Source,0,0); i'm working on a plugin and will tell more bugs if any more. |
By: kapouer
Date: 2006-05-12
Time: 11:52
|
Re: OnMergeField bug in tbs 3.0.1by the way i like very much tbs conception.
i plan to add some very nice features for a work i'm doing these days. i'll discuss that later... |
By: Skrol29
Date: 2006-05-12
Time: 12:05
|
Re: OnMergeField bug in tbs 3.0.1I've maybe read too fast. i'll study this tomorrow.
Don't hesitate to subscribe to the mailing list: http://groups.google.com/group/tbs-next You can use it to discuss about developping and conception. I'll maybe have to fix another problem about event AfterShow. |
By: Skrol29
Date: 2006-05-13
Time: 19:01
|
Re: OnMergeField bug in tbs 3.0.1Hello kapouer,
TBS 3.0.2 is now available. If you were using plug-in's event AfterShow, please note that TBS 3.0.2 brings a change in it. Now ouput and exit happen after this event, not before. You can cancel them using the argument $Render. |