hi prasad,
do i unzip and place the directory in the root of my vtiger directory?
or should i place the vtlib directory inside the modules directory?
currently i have it installed in the root directory of my vtiger installation. i can call up the /vtlib-1.0/vtlib.test.html file ok but when i click on any of the links - such as create menu item - it gives me errors, such as: warning: include_once(include/utils/utils.php) and failed to open stream: no such file or directory
could you please help?
i'm sure i'm just being stupid ...
many thanks,
churchpath
hi prasad,
many thanks for your reply, perhaps i hadn't changed all the filenames, etc. that you specified in your pdf.
i'll take another look at that later.
churchpath
<!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) --> this is very good, thank you so much, i got a test module working!
just out of interest, are the following files (in the vtiger folder you supplied) included just as a reference?
keep up the good work, this will greatly speed up modular development <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->
churchpath
i installed the modules from vtlib1.0 and they work great.but when i tried to made my own module i recived the following error(the crm is functional but only when i click on my human resources tab it appears this error):
fatal error: uncaught exception 'exception' with message 'result is not an object' in c:\program files\vtigercrm5\apache\htdocs\vtigercrm\include\database\peardatabase.php:590 stack trace: #0 c:\program files\vtigercrm5\apache\htdocs\vtigercrm\modules\humanresources\listview.php(68): peardatabase->query_result(false, 0, 'count') #1 c:\program files\vtigercrm5\apache\htdocs\vtigercrm\modules\humanresources\index.php(4): include_once('c:\program file...') #2 c:\program files\vtigercrm5\apache\htdocs\vtigercrm\index.php(616): include('c:\program file...') #3 {main} thrown in c:\program files\vtigercrm5\apache\htdocs\vtigercrm\include\database\peardatabase.php on line 590
i modified the moduledir as explaind in the doc ,and i modified also the test. xxx. php files (replace payslip with humanresources).
what else should i modifie? or how can i corect this error?
Comments
i'll have a look and give you my comments.
thanks.
joe
tsolucio
do i unzip and place the directory in the root of my vtiger directory?
or should i place the vtlib directory inside the modules directory?
currently i have it installed in the root directory of my vtiger installation. i can call up the /vtlib-1.0/vtlib.test.html file ok but when i click on any of the links - such as create menu item - it gives me errors, such as:
warning: include_once(include/utils/utils.php) and
failed to open stream: no such file or directory
could you please help?
i'm sure i'm just being stupid ...
many thanks,
churchpath
unzip the files and copy them to your vtiger crm root directory.
you will have to call the script like:
<!-- m --><a class="postlink" href="http://serveraddress/vtigercrm/vtlib.test.html">http://serveraddress/vtigercrm/vtlib.test.html</a><!-- m -->
regards,
prasad
vtiger team
good work
whare i should place thes file vtlib\vtiger
common.inc.php
block.php
module.php
parenttab.php
utils.php
..
and how we can add report and import and export for the new module.
with best regards
ooaa
many thanks for your reply, perhaps i hadn't changed all the filenames, etc. that you specified in your pdf.
i'll take another look at that later.
churchpath
i really need that to make my new module works fine
thanks for this excellent tool
<!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) --> this is very good, thank you so much, i got a test module working!
just out of interest, are the following files (in the vtiger folder you supplied) included just as a reference?
vtiger directory:
common.inc.php
block.php
module.php
parenttab.php
utils.php
i guess i'm asking the same question as 'ooaa'.
keep up the good work, this will greatly speed up modular development <!-- s:) --><img src="{smilies_path}/icon_smile.gif" alt=":)" title="smile" /><!-- s:) -->
churchpath
vtlib 1.1 is now released. this version includes api to enable and disable actions like (export, import) for a module.
to achieve this several hooks were added to the core files of vtiger 5.0.4
please be careful when testing out this library.
the documentation was updated to capture the information on api usage to build new module
and extend the existing modules.
check it out today and update us with the feedback.
download url: <!-- m --><a class="postlink" href="http://forge.vtiger.com/frs/?group_id=174&release_id=435">http://forge.vtiger.com/frs/?group_id=1 ... ase_id=435</a><!-- m -->
project url: <!-- m --><a class="postlink" href="http://forge.vtiger.com/projects/vtlib/">http://forge.vtiger.com/projects/vtlib/</a><!-- m -->
regards,
prasad
vtiger team
i installed the modules from vtlib1.0 and they work great.but when i tried to made my own module i recived the following error(the crm is functional but only when i click on my human resources tab it appears this error):
fatal error: uncaught exception 'exception' with message 'result is not an object' in c:\program files\vtigercrm5\apache\htdocs\vtigercrm\include\database\peardatabase.php:590 stack trace: #0 c:\program files\vtigercrm5\apache\htdocs\vtigercrm\modules\humanresources\listview.php(68): peardatabase->query_result(false, 0, 'count') #1 c:\program files\vtigercrm5\apache\htdocs\vtigercrm\modules\humanresources\index.php(4): include_once('c:\program file...') #2 c:\program files\vtigercrm5\apache\htdocs\vtigercrm\index.php(616): include('c:\program file...') #3 {main} thrown in c:\program files\vtigercrm5\apache\htdocs\vtigercrm\include\database\peardatabase.php on line 590
i modified the moduledir as explaind in the doc ,and i modified also the test. xxx. php files (replace payslip with humanresources).
what else should i modifie? or how can i corect this error?
thanks
can you please share the modules/humanresources and the script you executed to setup the new module?
regards,
prasad
vtiger team