Answers.Body: <p>Thanks for this - it helped me out.</p>
  
  <p>I believe the second part of your answer is no longer valid.</p>
  
  <p>The new place to reference your template seems to be in: <code>uk.co.vedaconsulting.mosaico/CRM/Mosaico/BAO/MosaicoTemplate.php</code>.</p>
  
  <p>Edit the <code>findBaseTemplates()</code> method to return another record with your new template's details and it should show up under the <code>Mailings -&gt; Mosaico Templates</code> menu option in the <code>New from base template:</code> section</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-28T19:06:29.643Z
Answers.Text: Thanks for your post but this would be better posted as a comment rather than an answer.
Answers.UserDisplayName: William Mortada
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-28T23:42:00.793Z
Answers.Text: @WilliamMortada I did try to leave a comment - unfortunately I need 50 reputation to do so :)
Answers.UserDisplayName: LarryFisherman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-29T08:51:25.307Z
Answers.Text: Yes, I appreciate that is a limitation but hopefully you will build up that credit soon. I've just given you 10.
Answers.UserDisplayName: William Mortada
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-28T02:07:53.913Z
Answers.LastActivityDate: 2017-11-28T02:07:53.913Z
Answers.UserDisplayName: LarryFisherman
Body: <p>Is not a question, i just want to share with you how you can create a new template on civicrm / mosaico!</p>
  
  <p>for wordpress:</p>
  
  <p>Template directory:</p>
  
  <pre><code>/www/yoursite/wp-content/uploads/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/
  </code></pre>
  
  <p>here you find 3 templates directory that already exists</p>
  
  <p>choose one of the folders (important)
  and duplicate and rename folder and the.html inside (respecte the nomenclature)</p>
  
  <p>next step
  view your template in the selection area in wordpress</p>
  
  <p>go to</p>
  
  <pre><code>/www/yoursite/wp-content/uploads/civicrm/ext/uk.co.vedaconsulting.mosaico/js
  </code></pre>
  
  <p>edit index.js</p>
  
  <p>and add your template here:</p>
  
  <pre><code>var viewModel = {
          showSaved: ko.observable (false),
          edits: ko.observableArray (initialEdits),
          templates: [{
            name: 'versafix-1', desc: 'The versatile template'
          }, {
            name: 'tedc15', desc: 'The TEDC15 template'
          }, {
            name: 'tutorial', desc: 'The Tutorial'
          }, {
            name: 'newtemplate', desc: 'newtemplatetitle'
          }]
        };
  </code></pre>
  
  <p>Final step is create / modify your own template
  put your new template with correct name in your Template directory</p>
  
  <p>sorry for my poor english ... I'm french: p</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-27T10:35:21.287Z
Comments.Text: Thanks for the insight. Would be nice to format this message properly with _markdown_ formatting to improve legibility.
Comments.UserDisplayName: Aivars
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-01T03:51:31.693Z
Comments.Text: What would be helpful would be to change your OP to a question eg For WP how do I create a new template on civicrm / mosaico! Then add your above post as an Answer to your own Question. then we can give you +1 for a useful answer
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-01T09:31:14.510Z
Comments.Text: I don't understand :(
Comments.UserDisplayName: ZeroCool
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-28T19:05:06.283Z
Comments.Text: @ZeroCool Thanks for posting this. StackExchange has a question and answer format but you have posted your answer as a question.  It would be better to copy most of what you have posted above into the 'Answer' box below.  See https://civicrm.stackexchange.com/help/self-answer
Comments.UserDisplayName: William Mortada
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-28T23:22:48.060Z
Comments.Text: Possible duplicate of [template civicrm mosaico on wordpress](https://civicrm.stackexchange.com/questions/20558/template-civicrm-mosaico-on-wordpress)
Comments.UserDisplayName: Francesc Bassas i Bullich
Tags: <wordpress><custom-templates>
Title: how do I create a new template on civicrm / mosaico
ThreadText: # how do I create a new template on civicrm / mosaico
  
  (Asked by: username_0 on 2017-09-26)
  
  Is not a question, i just want to share with you how you can create a new template on civicrm / mosaico!
  
  for wordpress:
  
  Template directory:
  
  ```
  /www/yoursite/wp-content/uploads/civicrm/ext/uk.co.vedaconsulting.mosaico/packages/mosaico/templates/
  
  ```
  
  here you find 3 templates directory that already exists
  
  choose one of the folders (important)
  and duplicate and rename folder and the.html inside (respecte the nomenclature)
  
  next step
  view your template in the selection area in wordpress
  
  go to
  
  ```
  /www/yoursite/wp-content/uploads/civicrm/ext/uk.co.vedaconsulting.mosaico/js
  
  ```
  
  edit index.js
  
  and add your template here:
  
  ```
  var viewModel = {
          showSaved: ko.observable (false),
          edits: ko.observableArray (initialEdits),
          templates: [{
            name: 'versafix-1', desc: 'The versatile template'
          }, {
            name: 'tedc15', desc: 'The TEDC15 template'
          }, {
            name: 'tutorial', desc: 'The Tutorial'
          }, {
            name: 'newtemplate', desc: 'newtemplatetitle'
          }]
        };
  
  ```
  
  Final step is create / modify your own template
  put your new template with correct name in your Template directory
  
  sorry for my poor english ... I'm french: p
  
  **Tags:** wordpress, custom-templates
  
  > **Comments:**
  > **username_1**: Thanks for the insight. Would be nice to format this message properly with _markdown_ formatting to improve legibility.  
  > **username_2**: What would be helpful would be to change your OP to a question eg For WP how do I create a new template on civicrm / mosaico! Then add your above post as an Answer to your own Question. then we can give you +1 for a useful answer  
  > **username_0**: I don't understand :(  
  > **username_3**: @username_0 Thanks for posting this. StackExchange has a question and answer format but you have posted your answer as a question.  It would be better to copy most of what you have posted above into the 'Answer' box below.  See https://civicrm.stackexchange.com/help/self-answer  
  > **username_4**: Possible duplicate of [template civicrm mosaico on wordpress](https://civicrm.stackexchange.com/questions/20558/template-civicrm-mosaico-on-wordpress)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_5 on 2017-11-28. Score: 3 | Accepted answer
  
  Thanks for this - it helped me out.
  
  I believe the second part of your answer is no longer valid.
  
  The new place to reference your template seems to be in: `uk.co.vedaconsulting.mosaico/CRM/Mosaico/BAO/MosaicoTemplate.php`.
  
  Edit the `findBaseTemplates()` method to return another record with your new template's details and it should show up under the `Mailings -> Mosaico Templates` menu option in the `New from base template:` section
  
  > **Comments:**
  > **username_3**: Thanks for your post but this would be better posted as a comment rather than an answer.  
  > **username_5**: @username_3 I did try to leave a comment - unfortunately I need 50 reputation to do so :)  
  > **username_3**: Yes, I appreciate that is a limitation but hopefully you will build up that credit soon. I've just given you 10.  
  
  ---
  
  