Where email templates are stored?

6 posts by 2 authors in: Forums > CMS Builder
Last Post: August 6, 2021   (RSS)

By gkornbluth - August 5, 2021

Hi Andreas,

Unless we;re talking about different things, the email templates are not actually 'stored' they are records in a database table that you can access under 'CMS Setup' and then 'Email Templates'

The bottom field of each template contains the placeholders that you can use in each email that's sent. The top field is where you'd modify (and I think style) the email's information to fit your needs.

The code for creating membership pages such as login, signup, reset password, profile, etc. (for use with the Website Membership plugin) is under 'plugins' if you have the membership plugin activated.

You can find out more in the readme.txt doc that comes with the membership plugin

Hope that helps,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By andreasml - August 5, 2021

Hi Jerry

Thank you for your quick reply. What I mean is the following. When you first install the CMSB, there are four (4) email templates that are loaded by default, in the database table named 'Email Templates'. My question is where this information is located in the CMSB folder. I am asking this because I have already another two (2) email templates, that Ross has created for me some years ago, which I need to include in a clean new installation of CMSB. 

Regards,

Andreas

By gkornbluth - August 5, 2021

Are the templates called by their name in your pages?

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By andreasml - August 5, 2021

Hi Jerry again

I think I got it. The content of each outgoing email can be found in the 'lib/mail_functions.php' file. In previous versions of CMSB it was located in the 'lib/common.php' file.

Thanks again for your assistance

Regards,

Andreas

By gkornbluth - August 6, 2021

Glad you found the answer.

Jerry

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php