Results 1 to 2 of 2

Thread: Help about tpl?

  1. #1
    jollyguy77 is offline Member
    Join Date
    Nov 2009
    Posts
    18

    Default Help about tpl?

    Hi,

    I have some questions abt tpl?

    1) If i am to change how the label and fields are to be displayed, should i change directly in tpl files which is present in the cache folder for that module? If i change it should i do some steps to make the design changes permanent like using repair option?. Should i do the changes in developer mode or not? What are the steps to be taken when making the changes in tpl files?
    2) I have created subpanels that shows 'Activities' and 'history'. Instead of displaying the usual way one after the other, i want to display it side-by-side. how to do it?

    Can someone explain it to me.Please it's urgent.
    Thanks

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

    Default Re: Help about tpl?

    1. No, you should EDIT: -> NOT <- do that. Files in the cache get overwritten at times. The more proper way of creating a custom TPL file is to override the default view that uses the TPL you wish to customize, then point it to a custom version of the file. Check the forums and http://developer.sugarcrm.com for more info as there are some examples on the topic.

    2. The problem with customizations to that area is that they involve changes to the core code. Nothing would prevent you from doing it, but when you upgrade, you'll have to manually merge in your changes or your modifications will be lost.
    Last edited by Angel; 2009-11-19 at 11:14 PM. Reason: Forgot a word
    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)

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
  •