是否可以为mailchimp编码拖放模板? [英] Is it possible to code drag&drop templates for mailchimp?

查看:82
本文介绍了是否可以为mailchimp编码拖放模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类似于mailchimp的模板有两种类型:经典模板和拖放"模板.

Seems like mailchimp has two types of templates: classic and "drag and drop."

经典模板(它们称为主题")具有使用mc:attrubutes定义的内容区域.其中一些可以重复,但不能四处移动.

The classic templates (they call these "themes") have content areas defined using the mc: attrubutes. Some of these can be repeated but can't be moved around.

拖放"模板具有容器"区域,这些区域接受菜单中的内容块,该菜单仅在模板为拖放"类型时出现.

The "drag and drop" templates have "container" zones which accept content blocks from a menu which appears only when the template is of the "drag and drop" kind.

似乎无法编码和导入拖放"模板.我尝试将其中的一个导出为HTML,但收到警告,提示重新导入模板将消除其拖放功能.

Seems that it is impossible to code and import a "drag and drop" template. I tried exporting one of theirs to HTML but was given a warning that re-importing the template will eliminate its drag and drop functionality.

我是正确的理解吗,那就是只能使用mailchimp模板标签对经典"模板进行编码和导入,还是我遗漏了某些东西?

Am I correct in understanding that it is only possible to code and import "classic" templates using the mailchimp template tags or am I missing something?

推荐答案

您可以使用拖放操作,但是在我能找到的任何地方都没有记录.我能够获得他们用来在右侧显示内容"和设计"面板的源代码.

You can use drag and drop, but it's not documented any where that I could find. I was able to get the source code they used to get the "content" and "design" panels to appear on the righthand side.

要显示内容"面板,您需要在此要点中使用代码>!这只是单列基本模板的源代码.将代码粘贴到编辑代码"面板中.您只需要遵循文件中的正确格式即可. 我还没有解析它,可以告诉您什么才是正确的.

In order to get the "content" panel to appear you need to use code in this gist! It's just the source code from the single column basic template. Paste the code into the "Edit Code" panel. You just need to follow the proper formatting in the file. I haven't parsed through it yet to tell you what is exactly does what.

有关如何修改模板的文档(mc:edit ="body")和具有设计面板的文档,请参见

The documentation on how to modify your templates (mc:edit="body") and have the design panel can be found here MailChimp's Knowledge Base: Code Your Own

这篇关于是否可以为mailchimp编码拖放模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆