[Vtigercrm-developers] creating a test module/tab - bestapproach..

bruce bedouglas at earthlink.net
Tue Dec 9 06:58:49 PST 2008


Hi Prasad.

Thanks for the reply. I've read the pdf docs that come with the vtlib from
the forge site. But I've still got questions.

Here's my situation. I'm looking to create a complete test module/tab with a
few sublinks. The goal is to somewhat emulate one of the existing tabs, that
have the "lead/contact/account" submenus.

I want my test to allow a user to select from a given list of
contacts/accounts and to select the ones that he'd like to work with. I'd
like to limit the initial fields that a user would initially see when the
user is making their selection. Once the user has been approved to work with
his selections, the user would have access to the complete fields for the
contacts selected contacts.

My understanding of vTiger is that I can modify it (add modules/tabs) to
accomplish my test.

The pdf implies that I can create a test "payslip" app. Can you tell me what
this does? Will the result of following the pdf give me a new module/tab,
with a html page/section similar to the section for the leads/contacts that
the user sees. (Is this what you guys call a "view"?)

Does the payslip app/test provide the templates. Couldn't see them under the
modules dir.

Do I need to be concerned with the import/export parts of the pdf doc if I'm
simply using my changes for my own app?

>From a more basic perspective, is this the best approach to accomplish what
I mentioned at the beginning of this post/email..

If I can get through this process, and complete my test, I'd be more than
wiling to contribute a writeup as to how to accomplish what I create...

So. After reading sections #7, #8 (again!!) I'd like to go through the
section/test php file in detail with you.. to get my head around exactly how
this is supposed to work, and to make sure I understand what/how the app is
supposed to perform creating new modules.

Oh. as an aside. How do you programatically remove/hide/delete a given
module/tab as well?

Any/all pointers/comments will be appreciated!!


Thanks

-bruce


-----Original Message-----
From: vtigercrm-developers-bounces at lists.vtigercrm.com
[mailto:vtigercrm-developers-bounces at lists.vtigercrm.com]On Behalf Of Prasad
Sent: Monday, December 08, 2008 10:20 PM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] creating a test module/tab -
bestapproach..


Hi Bruce,

vtlib Project URL: http://forge.vtiger.com/projects/vtlib

Payslip is an example module to was created to explain the usage of vtlib
APIs

vtiger CRM is driven by PHP and Smarty. The files in modules/Payslip servers
as entry point
of different views like ListView, DetailView, EditView etc... Smarty
templates are used to generate
the HTML.

The information regarding fields of the modules are obtained using the
common (core) APIs.

After unpacking vtlib package, read through vtlib.Test.Module1.php to
understand the usage of vtlib APIs (Step 1 to 7 of documentation)
Read the Step 8 of the documentation to understand more details of required
Module files.

Regards,
Prasad
vtiger Team


On 12/9/08, bruce <bedouglas at earthlink.net> wrote:
Hi Tony/David.

I've taken a look at the pdf docs for the vtlib. I'm trying to wrap my head
around exactly what the payslip app does.

I see that it performs some db functions, as well as connecting into the
vTiger app... But I can't see where the UI stuff occurs. I'm assuming this
is in the Smarty Template stuff, that's not provided.

If I simply wanted to create a "copy" of an existing module/tab, that I
could then modify... is there an example somewhere that I can play around
with?

Basically, I'm looking to create a test module, that will allow a user to
select an account/contact that the user will work with. The current version
of vTiger doesn't appear to allow this kind of functionality.

Thanks


-bruce




-----Original Message-----
From: Tony Thomas [mailto:tgt at vtiger.com]
Sent: Monday, December 08, 2008 5:47 PM
To: bruce
Subject: Re: creating a test module/tab - best approach..


Hi Bruce,
You can use the 5.0.4 version for now if you intend to develop
and use the extension in the near future.

The vtlib download works for 5.0.4.  Please check the blog for
more information and download links.
Regards,
Tony Thomas
vtiger Team


On 12/8/08, bruce <bedouglas at earthlink.net> wrote:
> David V
>  Tony Thomas.
>
>  RE: Creating test module/tab!!
>
>  Hi.
>
>  Pertaining to the vtlibm should I use the v5.0.4, or the v5.1 version of
>  vTiger. If I should use the 3.1 version, any pointers as to where I
should
>  grab it?
>
>  Thanks
>
>  -bruce
>  bedouglas at earthlink.net
>
>
>
>  -----Original Message-----
>  From: vtigercrm-developers-bounces at lists.vtigercrm.com
>  [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com]On Behalf Of
David
>  V.
>  Sent: Monday, December 08, 2008 5:05 PM
>  To: vtigercrm-developers at lists.vtigercrm.com
>  Subject: Re: [Vtigercrm-developers] tutor/guru for creating a test
>  module/tab
>
>
>  Bruce,
>
>  You should definitely consider using the new vtlib.
>  It's really easy to create a new module in vtiger with it.
>
>  http://www.vtiger.com/blogs/2008/11/26/vtlib-20-released/
>
>  Try and let us know :-)
>
>  David V.
>
>
>  On Mon, Dec 8, 2008 at 7:41 PM, bruce <bedouglas at earthlink.net> wrote:
>
>  Hi...
>
>  Looking to create/implement a test module/tab with a few test subtabs...
>
>  I've got vTiger 5.0.4, and have looked through the online wiki/tutorial.
If
>  you've got the skills in creating tabs/modules, and you're willing to
>  exchange a few emails, let me know!
>
>  thanks
>
>  -bruce
>
>  _______________________________________________
>  Reach hundreds of potential candidates - http://jobs.vtiger.com
>
>

_______________________________________________
Reach hundreds of potential candidates - http://jobs.vtiger.com




More information about the vtigercrm-developers mailing list