Posted: February 3, 2020 at 12:25 am
|
Hi Guys, |
Hi, You may need to hire a developer to do this because building a new template pack does require some PHP experience. Here’s a link to the developer documentation: We recommend reaching out to codeable.io for a quote because the developers there have experience with PHP. |
|
|
Hi Josh, Thanks, |
The docs show an example to based your template on and the code includes:
Meaning that example template pack will only load on for those payment message types. You would set your own message types for the template pack.
Sorry but I’m not sure I follow this, what does making the email responsive have to do with not being able to load the template packs? The defaults use tables which are harder to make responsive but if you are creating your own that won’t matter.
Ok, but so far you haven’t asked any specific questions other than how to create a template pack, which Josh provided the documentation for. Those docs give in-depth instructions on how to create/register a template pack. We are happy to answer any questions you may have on the message templates api but going through each specific method available and each property you need to set for your use case is outside the scope of support we can provide on the forums. So may I ask, what specific insight are you looking for? |
|
|
Hi Tony, To answer your question i did ask a specific question of how do i get my template under the template structure dropdown was told to read what i have already read and implemented or pay someone else to do it. All i need now is a list of the handlers which i can not find anywhere to put in the classes php so i can finish up my custom templates. Can you help? Thanks, |
Message handlers? Do you mean message types? There are data handlers but not message handlers so I assume you mean message type. Message types are dynamic as you can add your own, you can find all of the default message types within:
(2 locations as the ‘caffeinated’ version of EE adds additional message types) The ‘name’ attribute on the
Most are self-explanatory but some not so much.
Re-reading your original reply and piecing bits together I can now understand some more what you meant, but this is by no means obvious in your original reply and comes more from the second reply, for example:
That does not automatically mean you have gone through the documentation Josh linked to, it could simply mean you read over the templates, what are templates in that context? What have you read? What are you actually confused about? What isn’t adding a pack under the template structure and where? As I said, there are no specifics so we have to start from the beginning. You don’t mention any specific code here and simply state you’ve looked over something and it doesn’t add a template structure, we can only work from whatever you posted in your reply so we have no idea what you’ve read, nor what you are stuck on from your initial post. Under general EE support, we do not provide support for customizations but are more than happy to answer questions if we can help point you in the right direction, however, you’ll need to provide specifics on the issue and show what you have done already or you’ll simply be referred to the documentation as we have no idea where you are up to without that info. |
|
|
Great thanks Tony, that is exactly what i was after. Thankyou again, |
The support post ‘Template Packs for custom HTML Emails’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.