Results 1 to 4 of 4

Thread: Notificação email

  1. #1
    liberatofernando is offline Junior Member
    Join Date
    Nov 2011
    Posts
    3

    Default Notificação email

    Olá,

    gostaria de personalizar as notificações por email de atribuição do Sugar.

    já sei onde está o template, o problema fica por conta de não saber como incluir novos campos (nome da variavel para adicionar, por exemplo, o telefone)

    Att.

    Fernando

  2. #2
    g_paschoal is offline Sugar Community Member
    Join Date
    Mar 2011
    Posts
    13

    Default Re: Notificação email

    Oi,

    Vc poderia me informar onde está o template ? Estou tentando achar nao estou conseguindo...


    Obrigado

  3. #3
    liberatofernando is offline Junior Member
    Join Date
    Nov 2011
    Posts
    3

    Default Re: Notificação email

    Claro, ele fica em include\language\pt_BR.notify_template.html.

    Porém o correto seria copiar e alterar neste caminho: custom\include\language\pt_BR.notify_template.html

    o problema fica por conta de não saber quais variaveis estariam disponiveis e como referencia-las.

    eu preciso do telefone.

    Fernando

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Notificação email

    Quote Originally Posted by liberatofernando View Post
    Claro, ele fica em include\language\pt_BR.notify_template.html.

    Porém o correto seria copiar e alterar neste caminho: custom\include\language\pt_BR.notify_template.html

    o problema fica por conta de não saber quais variaveis estariam disponiveis e como referencia-las.

    eu preciso do telefone.

    Fernando
    Não há uma solução elegante. É preciso implementar ou modificar a função set_notification_body na classe do módulo. Você pode ver essa função em modules/Accounts/Account.php

    Att
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Personalizar Email de Notificação Padrão
    By liberatofernando in forum Portugese
    Replies: 0
    Last Post: 2011-11-08, 11:32 AM
  2. Não recebe Notificação
    By Gilton in forum Portugese
    Replies: 6
    Last Post: 2011-05-18, 11:33 AM
  3. Email - Notificacao Lembrete
    By davscience in forum Portugese
    Replies: 2
    Last Post: 2011-01-18, 11:38 AM
  4. como enviar notificação para o email
    By godhex in forum Portugese
    Replies: 3
    Last Post: 2011-01-17, 07:54 PM
  5. Email de notificação
    By AdrianaTELCELL in forum Portugese
    Replies: 3
    Last Post: 2009-02-05, 03:01 PM

Tags for this Thread

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
  •