Re: Smarty With Pear Datagrid (Some more questions)
| From: | Patrick Paul | Date: | Mon, 12 Jun 2006 07:54:44 +0000 |
| Subject: | Re: Smarty With Pear Datagrid (Some more questions) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24321@lists.php.net to get a copy of this message | ||
Hi,
moses@softwaysolutions.com wrote:
Hello Sir. Thank you for ur reply. But i could not solve my problem still I have some more questions. As u said I tried the following codeTo check out the entire package use the following (assuming you have CVS properly installed) : cvs -d:pserver:cvsread@cvs.php.net:/repository login (password: phpfi) cvs -d:pserver:cvsread@cvs.php.net:/repository co pear/Structures_DataGrid$template = new YDTemplate(); $datagrid->fill($template);but get the folowing Error Fatal error: Call to undefined function: fill() in D:\web\Moses\test\pear\DataGrid\datagridSmarty.php on line 35 I have downloaded the datagrid from the folwing linkhttp://pear.php.net/package/Structures_DataGrid/download Version : 0.6.3 Release date: 2005-10-25 21:08 UTC Release state: beta I found out that the fill() function is not present in DataGrid.php file.So I downloaded the Datagrid.php file from the following linkhttp://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid.php?view=log Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs] Sun Jun 11 21:46:58 2006 UTC (8 hours, 48 minutes ago) by olivierg Branch: MAIN CVS Tags: HEAD Changes since 1.73: +7 -4 lines Diff to previous 1.73 Fixed renderer save/restore routinesNow I received the following ErrorWarning: Missing argument 1 for structures_datagrid_renderer_htmltable() in C:\php\pear\Structures\DataGrid\Renderer\HTMLTable.php on line 130Again I downloaded the file HTMLTable.php from the following link http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/HTMLTable.php?view=logAgain I get some severe problems.... You need to download the whole package from CVS, not just the DataGrid.php file.
I dont know wheather i am going in the right way..Usually I used to down load the pear packages from http://pear.php.net/packages.php But you have asked me to use the CVS version I dont have any idea about CVS so I searched in the net for pear cvs and from the following link http://cvs.php.net/viewcvs.cgi/pear/ I down loaded the new datagrid.php files I am very confused in using cvs I feel very easy to download the packages from http://pear.php.net/packages.php but in the cvs its not possible to download a whole package we need to download each and every files one by one.See my answer above.
What is the difference between the packages inside cvs and ordinary pear packages. Getting a package from CVS will give you the latest features. However it may not be as stable as a release.
Is Cvs packages stable.In the case on Structures_DataGrid it works fine.
regards moses Good luck,Patrick