Results 1 to 5 of 5

Thread: Module w/o extending Beans

  1. #1
    austints is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    30

    Default Module w/o extending Beans

    Is it possible to create a module that does not extend the Beans class? We want to make a custom module that simply uses SugarCRM for permissions but uses a custom interface. Basically, we only want access to the functions (namely permissions) and have it create a tab but not extend the interface in any way.

  2. #2
    ftreml's Avatar
    ftreml is offline Sugar Community Member
    Join Date
    May 2005
    Location
    Vienna, Austria
    Posts
    399

    Default Re: Module w/o extending Beans

    I tried the same with ZuckerDocs, but didn't succeed. Finally, I wrote a "Dummy Bean" (see ZuckerDocs distribution on sugarforge), which doesn't anything and is only a placeholder for showing the tab and not break other Sugar functions (build relationships, reporting etc) - nothing more is required in my case.

  3. #3
    austints is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    30

    Default Re: Module w/o extending Beans

    This "dummy bean" sounds like it may be what I'm looking for. I've read the ZuckerDocs installation manual but can't find any information on it. Could you point me in the right direction?

  4. #4
    ftreml's Avatar
    ftreml is offline Sugar Community Member
    Join Date
    May 2005
    Location
    Vienna, Austria
    Posts
    399

    Default Re: Module w/o extending Beans

    Quote Originally Posted by austints
    Could you point me in the right direction?
    unzip the package and copy the file modules/ZuckerDocs/ZuckerDummyBean.php (or something similar).

  5. #5
    austints is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    30

    Default Re: Module w/o extending Beans

    That was exactly what I was looking for, thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •