我有一个FormIt表单,它分叉在一个网站,但它不工作在另一个(相同的形式,我已经创建或复制从手册)。如果它位于顶层,它就能工作,如果它位于某个子菜单中,它就不起作用了。我唯一找到的东西--在我尝试发送电子邮件之后--加载了错误url,而不是:
http://example.com/main-menu/how-to-help-us/informations/test我得到:
http://example.com/main-menu/how-to-help-us/informations/main-menu/how-to-help-us/informations/test我的FormIt电话如下:
[[!FormIt?
&hooks=`FormItSaveForm, email`
&successMessage=`Message sent`
&formName=`cbd_form`
&validate=`name:required,company:required,phone:required,email:email:required`
&emailTpl=`cbdReport`
&emailSubject=`Subject`
&emailTo=`myemail@gmail.com`
]]下面是完整的代码:http://pastebin.com/8hJTfCX2
有什么好查的吗?
这是最新安装的REVO。MODX革命2.4.3-pl
发布于 2016-10-18 18:14:39
您忘记在模板的头上添加<base href="[[++site_url]]">标记了吗?
https://stackoverflow.com/questions/40112850
复制相似问题