Results 1 to 2 of 2

Thread: $vardef.module is pulling singular version of module name resulting in blank page

  1. #1
    nbiondi is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    35

    Post $vardef.module is pulling singular version of module name resulting in blank page

    Can some one help me? I have recently upgraded to 5.0.0f and now my "Related to:" links result in a blank page. I have tracked it down to $vardef.module that is called to create the link, but I'm not sure where it is getting its value. If the "Related to:" is an Account the link shows up as ...module=Account... or if it is an Opportunity the module portion of the link will display ...module=Opportunity... when they should be Accounts and Opportunities respectively.

    My question is what is the path that this call uses to get its value?

    Thanks in advance.

  2. #2
    nbiondi is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    35

    Default Re: $vardef.module is pulling singular version of module name resulting in blank page

    Can anyone help me? I have a bit more clarification...a bit. The linked used, for instance, in the "related to:' field of Calls is based on the on created by the file cache/modules/Calls/DetailView.tpl. Here is the specific line:

    <a href="index.php?module={$fields.parent_type.value} &action=DetailView&record={$fields.parent_id.value }" class="tabDetailViewDFLink">{$fields.parent_name.v alue}</a>

    It is $fields.parent_type.value that assigns the correct module name to the "module=" portion of the URL.

    I have a call associated to an account but when i click on the link the URL that is constructed contains ...module='Account'... instead of the correct form of ...module='Accounts'... It does the same thing for Opportunities it gives me module='Opportunity' instead of module='Opportunities'

    If any one could help me I would appreciate it. Trouble shooting SugarCRM can be the biggest nightmare!

    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. Blank page instead of login
    By streifl in forum Help
    Replies: 1
    Last Post: 2007-12-04, 08:09 AM
  3. Blank page when editing archived emails
    By 3v3ntiq in forum Help
    Replies: 1
    Last Post: 2005-04-22, 09:33 PM

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
  •