Skip to content

Wiki: How to embed the login form on another page. Documentation corrections #673

@visto9259

Description

@visto9259

The Wiki page on this topic states that using the following:

<?php $form = $this->zfcUserLoginWidget(array('render' => false)); ?>

will return a login form.

This is not exact. It will return a ViewModel with a loginForm variable that contains the login form. One would then have to do the following:

$loginForm = $this->zfcUserLoginWidget(array('render' => false))->getVariable('loginForm');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions