开发者

How do I embed sfDoctrineGuardPlugin register/signup form into my homepage module template?

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜