Results 1 to 4 of 4

Thread: Template for ACCOUNT_TYPE_OPTIONS

  1. #1
    Meex21 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    28

    Default Template for ACCOUNT_TYPE_OPTIONS

    Hi,

    I've a very strange system behavior! I added in the studio the field Type (Account_Type) in the edit view of the module accounts. Now I have the problem that the dropdown field is empty!
    After hours of analysis I found out that the file editview.html has a wrong syntax:
    normally it should look like this:
    <select name='account_type' tabindex='1'>{ACCOUNT_TYPE_OPTIONS}</select>
    but in my case it looks like this:
    <select name='account_type' tabindex='1'>{OPTIONS_ACCOUNT_TYPE}</select>
    When I manually change the OPTIONS_ACCOUNT_TYPE to ACCOUNT_TYPE_OPTIONS the dropdown list shows the values!

    What the hell could be the cause for this? When I change the layout, the html file gets generated again and the syntax is wrong again?

    Any suggestions?

    regards
    Meex

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Template for ACCOUNT_TYPE_OPTIONS

    Not sure why that's happening, but if you edit the EditView.html file in <sugar root>/custom/working/modules/Accounts, that will prevent the overwrite problem you are experiencing.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    Meex21 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    28

    Default Re: Template for ACCOUNT_TYPE_OPTIONS

    Thanx,this solved the problem!
    So in this directory the templates for HTML generation were stored?

    Meex

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Template for ACCOUNT_TYPE_OPTIONS

    Yes, the HTML templates used by Studio are stored in that directory structure.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Please help me, how can I send mail with template ?
    By tinatran in forum General Discussion
    Replies: 0
    Last Post: 2008-01-08, 04:14 PM
  2. Template variables
    By emmettPower in forum Help
    Replies: 6
    Last Post: 2007-12-10, 05:55 PM
  3. Problemi con la template delle campagne
    By info in forum Italiano
    Replies: 0
    Last Post: 2006-03-14, 02:15 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
  •