Issues with the Module Builder
I created a new module in the module builder based on an account (company) type. I did only minor customizations (mostly hid a bunch of fields), and after deploying it seems the subpanels are not displaying the "key_modulename_type" field correctly. Instead of showing the label like it should in related modules it is showing the label name. I went in and checked out the modules/modulename/metadata/subpanels/default.php file and sure enough the vname definition was missing. I added it and made sure everything else matched the formatting for the other subpanel items and now it works fine.
On a related note, while in there I also observed that all of the width parameters were missing the % symbol (which is present in all other factory modules in their respective subpanel default.php files). After I put that in the columns behaved a LITTLE better, but it still seems like it is not splitting them up correctly according to the values.
Checking the contacts/metadata/subpanels/foraccounts.php file it seems like they can add up to MORE than 100%, so how exactly is Sugar treating this parameter?
Finally, it also seems the studio subpanel editing is broken. I tried using that instead of the original default files and it caused all kinds of strange issues (like the name no longer being a link, even though the custom subpanel definition still seems to tell Sugar to make it so). Is this a known bug (I've seen other posts dealing with this with no Sugar team responces)?
Last edited by jspencer; 2008-01-11 at 05:11 PM.
-Jeff
SugarCRM CE 5.0a - Ubuntu 6.04 - Apache 2 - PHP 5 - Mysql 5
Bookmarks