This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

jonas22863
jonas22863

Hi guys I am very new to October and right now I'm trying to integrate the User Plugin. Sadly it occurs an error, which I am not able to solve with the knowledge I have. I modified the style of the SignIn form, but without changing any references. And i did remove the <h3>Sign In</h3> in the default.html as well as the entire register form. If I now try to login it doesnt perform an ajax request but simply opens the same page with the parameteres in the URL. Here is all I modified in signin.html:

<form
data-request="onSignin">
    <div class="input-field form-group">
        <input
            name="login"
            type="email"
            class="validate"
            id="userSigninLogin"
             />
    <label for="userSigninLogin" class="right-align">{{ loginAttributeLabel }}</label>
    </div>

    <div class="input-field form-group">
        <input
            name="password"
            type="password"
            class="validate"
            id="userSigninPassword"
            />
    <label for="userSigninPassword" class="right-align">Password</label>
    </div>

    <div class="divider"></div>
    <br>
    <div class="form-group right-align">
    <a href="register" class="grey-text">Noch keinen Account?</a>
    <button type="submit" class="btn waves-effect waves-light blue-grey darken 4">Sign in</button>
    </div>
</form>

Also I embed the PlugIn only into an partial, but it also doesnt work if i use it as a component. Sometimes I get an error message, like Invalid Activation Code supplied. If anyone could help me i would be really glad. Thank you in advance.

Last updated

jonas22863
jonas22863

Ok guys i found the solution myself. It was something I completly forgot I removed the following tags from the layout {% framework extras %} {% scripts %}. Thats why it didnt work.

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.