Results 1 to 9 of 9

Thread: sugarcrm 弹出问题

  1. #1
    zhudansheng is offline Senior Member
    Join Date
    Feb 2009
    Posts
    32

    Default sugarcrm 弹出问题

    请问我的字段是关联到产品的产品名称字段的,怎么弹去的窗口单击选择了产品名称显示不了产 品的名称呢?如图::在线等等
    说下:我的这个模块以前删除过,怎么做才行呢?
    Attached Images Attached Images   

  2. #2
    RandyLee's Avatar
    RandyLee is offline Sugar Team Member
    Join Date
    Oct 2008
    Location
    1464 English Dr, San Jose, CA, USA 95129
    Posts
    608

    Default Re: sugarcrm 弹出问题

    我试了一下,没有重现你说的问题。建议你删掉这个relate字段,重新在studio里面做一遍,在试试 。有什么问题麻烦你吧你的操作步骤和现象贴出来

    Better Sugar, Better Life!

  3. #3
    zhudansheng is offline Senior Member
    Join Date
    Feb 2009
    Posts
    32

    Default Re: sugarcrm 弹出问题

    我的步骤如下图:
    1单击产品名称的选择框时候出现弹出窗口,
    2,但我选择一个产品的名称时,比如烟台苹果
    3,烟台苹果就出现在当前的文本框中,
    就是像图联系人哪个效果一样
    你说的,studio.php文件,我是通过模板生成器生成的,以前有个test_Produ cts 这个模块,我给删除了,现在继续添加这个模块不行了,不知道为什么,要改代码,请问在哪里更改 代码?
    谢谢
    Attached Images Attached Images    

  4. #4
    zhudansheng is offline Senior Member
    Join Date
    Feb 2009
    Posts
    32

    Default Re: sugarcrm 弹出问题

    怎么没有人回答,为什么呢

  5. #5
    RandyLee's Avatar
    RandyLee is offline Sugar Team Member
    Join Date
    Oct 2008
    Location
    1464 English Dr, San Jose, CA, USA 95129
    Posts
    608

    Default Re: sugarcrm 弹出问题

    建议把原来做的那个relate字段(产品名称)删掉,[不仅仅是从layout中移除,而是把这个字段本身删掉]。然后重新建立这样一个字段,这样应该可以正常工作的。

    Better Sugar, Better Life!

  6. #6
    zhudansheng is offline Senior Member
    Join Date
    Feb 2009
    Posts
    32

    Default Re: sugarcrm 弹出问题

    还是不行,我把我的东西,发布下吧,,看看行不行
    Attached Files Attached Files

  7. #7
    RandyLee's Avatar
    RandyLee is offline Sugar Team Member
    Join Date
    Oct 2008
    Location
    1464 English Dr, San Jose, CA, USA 95129
    Posts
    608

    Default Re: sugarcrm 弹出问题

    你好zhudansheng,我想你的问题就处在你的包上面。我下载了你的包安装的时候就出错了,下面是错 误信息:

    Installing Images
    Installing Subpanel Layouts
    Rebuilding Layoutdefs...
    Installing Relationships
    Rebuilding Vardefs...
    Rebuilding Layoutdefs...
    Installing Language Packs
    Rebuilding Language...en_us
    Rebuilding Language...zh_cn
    Installing Bean : test_Vcontacts
    Table already exists : test_vcontacts
    Installing Bean : test_Checks
    Table already exists : test_checks
    Installing Bean : test_Products
    Error creating table: test_products: Query Failed:CREATE TABLE test_products (id char(36) NOT NULL ,date_entered datetime NULL ,date_modified datetime NULL ,modified_user_id char(36) NULL ,created_by char(36) NULL ,description text NULL ,deleted bool DEFAULT '0' NULL ,assigned_user_id char(36) NULL ,document_name varchar(255) NOT NULL ,filename varchar(255) NOT NULL ,file_ext varchar(25) NULL ,file_mime_type varchar(100) NULL ,active_date date NULL ,exp_date date NULL ,category_id varchar(25) NULL ,subcategory_id varchar(25) NULL ,status_id varchar(25) NULL ,productcode float(255) NOT NULL ,test_catalogs_id_c char(36) NULL ,serial_no varchar(255) NULL ,usageunit varchar(100) DEFAULT '盒' NULL ,reorderlevel float(255) NULL ,quantity float(18) NULL ,test_vendors_id_c char(36) NULL ,website varchar(255) NULL ,cost_price float(18) NULL ,list_price float(18) NULL ,discount_price float(18) NULL , PRIMARY KEY (id)) CHARACTER SET utf8 COLLATE utf8_general_ci::MySQL error 1063: Incorrect column specifier for column 'productcode'


    我自己在module builder里面做了一个,publish然后安装就安装成功了。下面是我安装自己的包的信息:

    Display Log
    Installing Images
    Installing Variable Definitions
    Rebuilding Vardefs...
    Installing Subpanel Layouts
    Rebuilding Layoutdefs...
    Installing Relationships
    Rebuilding Vardefs...
    Rebuilding Layoutdefs...
    Rebuilding administration Section...
    Installing Language Packs
    Rebuilding Language...en_us
    Installing Bean : randy_Millan
    Table already exists : randy_millan
    Rebuilding Relationships
    Complete

    Module Install Successfu

    建议,卸载这个有问题的模块,重做一个新的模块来实现了。

    Better Sugar, Better Life!

  8. #8
    longbaoling Guest

    Default Re: sugarcrm 弹出问题

    请问你的弹出窗口是怎么实现的哇。。。

  9. #9
    bnnzx is offline Sugar Community Member
    Join Date
    Jun 2009
    Location
    武汉
    Posts
    61

    Default Re: sugarcrm 弹出问题

    弹出窗是通过调用open_popup js 函数实现的,你可以查看页面的源文件,看看产品的选择按钮的click事件是否调用了该函数。

    如果调用了,你可以跟踪一下js调用。

    估计是你的产品模块有问题,open_popup调用时,找不到相应的模块。

    如何做,你可参见 RandyLee的意见,另外, RandyLee说的Studio是工作室。

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 在模板中怎么样生成弹出窗口
    By zhudansheng in forum Chinese
    Replies: 1
    Last Post: 2009-02-19, 08:57 AM
  2. Replies: 1
    Last Post: 2009-02-18, 08:53 AM
  3. Replies: 8
    Last Post: 2009-01-08, 03:41 AM
  4. Replies: 9
    Last Post: 2008-11-13, 02:31 AM
  5. 安装过程出现问题。请求帮助
    By ooppto in forum Chinese
    Replies: 1
    Last Post: 2008-09-08, 08:33 AM

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
  •