Answers.Body: <p>In general, tweaks to CiviCRM templates are not super simple and usually require a 2-step process:</p>
  
  <ol>
  <li>Add a tpl.extra template with the same name as the template you wish to modify.</li>
  <li>Add a <code>&lt;script&gt;</code> tag and some javascript to your new template which uses jQuery to place the markup in the spot you want.</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-07T07:52:23.470Z
Answers.Text: I've already thought about the solution you suggest.
  Bur what about if someone, with the need to change the contact form, overwrite the same template?
Answers.UserDisplayName: marcello
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-07T15:13:00.473Z
Answers.Text: Sorry I assumed you were doing this for an in-house tweak not for a public extension. .tpl.extra files are fine for in-house and bespoke work. For a public extension use [CRM_Core_Region](https://wiki.civicrm.org/confluence/display/CRMDOC/Region+Reference)
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-04T04:00:21.207Z
Answers.LastActivityDate: 2016-12-04T04:00:21.207Z
Answers.UserDisplayName: Coleman
Body: <p>As in a previous (unanswered) question, I'm trying to add an image with an anchor for each address in the contact form.</p>
  
  <p>In my extension, through the buildForm hook I'm able to add (once) an image in the contact form, but not to add <em>n</em> images in each address section.</p>
  
  <p><a href="https://i.sstatic.net/SNnIB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/SNnIB.png" alt="enter image description here"></a></p>
  
  <p>Thank's for your answer.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-02T08:19:21.380Z
Comments.Text: A screenshot with annotations would help explain what you're wanting to do.
Comments.UserDisplayName: Aidan
Tags: <contacts><extension><addresses>
Title: Add an image for each address in contact form
ThreadText: # Add an image for each address in contact form
  
  (Asked by: username_0 on 2016-12-02)
  
  As in a previous (unanswered) question, I'm trying to add an image with an anchor for each address in the contact form.
  
  In my extension, through the buildForm hook I'm able to add (once) an image in the contact form, but not to add *n* images in each address section.
  
  [![enter image description here](https://i.sstatic.net/SNnIB.png)](https://i.sstatic.net/SNnIB.png)
  
  Thank's for your answer.
  
  **Tags:** contacts, extension, addresses
  
  > **Comments:**
  > **username_1**: A screenshot with annotations would help explain what you're wanting to do.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-12-04. Score: 1
  
  In general, tweaks to CiviCRM templates are not super simple and usually require a 2-step process:
  
  1. Add a tpl.extra template with the same name as the template you wish to modify.
  2. Add a
  
  > **Comments:**
  > **username_0**: I've already thought about the solution you suggest. Bur what about if someone, with the need to change the contact form, overwrite the same template?  
  > **username_2**: Sorry I assumed you were doing this for an in-house tweak not for a public extension. .tpl.extra files are fine for in-house and bespoke work. For a public extension use [CRM_Core_Region](https://wiki.civicrm.org/confluence/display/CRMDOC/Region+Reference)  
  
  ---
  
  