如何将 sfDoctrineGuardPlugin 注册/注册表单嵌入到我的主页模块模板中?

发布于 2024-09-17 01:01:27 字数 177 浏览 2 评论 0原文

到目前为止,我已将 sfGuardRegister 复制到我的前端应用程序模块目录中,因此它已接管位于 symfony 插件目录中 sfDoctrineGuardPlugin 目录中的默认 sfGuardRegister。

我想让插件 sfGuardRegister 注册表单显示在我的主页模板上。

提前致谢

So far I have copied sfGuardRegister into my frontend app modules directory so it has taken over the default sfGuardRegister located in the sfDoctrineGuardPlugin directory in the symfony plugins directory.

I want to have the plugins sfGuardRegister signup/register form show up on my homepage template..

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

软糖 2024-09-24 01:01:27

如果一切都安装正确,您应该能够将以下代码放在您想要登录链接出现的任何位置:

<?php echo link_to("Create Account", "sfApply/apply"); ?>

这是假设您已经正确安装它,并且已经根据安装指南配置了您的路由。

If it is all installed properly, you should be able to drop the following code wherever you want to login link to appear:

<?php echo link_to("Create Account", "sfApply/apply"); ?>

This is assuming you have installed it properly, and have configured your routes according to the install guide.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文