Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 magento 的本地验证码用于自定义页面,如此链接所示。但它只在用户未登录时显示。但我也想为登录用户显示 magento 的原生验证码。有没有办法做到这一点?
您是否尝试过手动将验证码添加到模板中?不通过布局方法?
echo $this->getLayout()->createBlock('captcha/captcha') ->setFormId('module_unique') ->setImgWidht(230) ->setImgHeight(50) ->toHtml();
如该链接中所述,您还需要加载 mage/captcha.js 才能使其工作。
我正在为管理员审查提交的目标的应用程序页面工作。每个目标都是<tr>3 个不同表格中的一个。“review”、“complete”和“submitted”是三个表。
<tr>
每个都有一个 btn 组,<tr>可以根据当前的状态选择批准、恢复或拒绝。当状态改变时,包含的目标被删除并附加到适当的表中。
当它移动 btn-