Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

sign in code...

troppmanntroppmann New
edited January 2012 in Vanilla 2.0 - 2.8

OK, dumbest question ever...probably.

I am trying to create this:

http://www.halfacrecycling.org/images/sign.jpg

inbtween this:

{if not $User.SignedIn}

{/if}

Apparently i am over thinking this or something and all i am getting is 404 errors when i put something in there...

so, in short, help....thank you.

Tagged:

Best Answer

  • x00x00 MVP
    Answer ✓

    smarty limits you considerably especially this implementation. You could create your own smarty function that calls this view.

    Where are you putting the login? becuase copy the guest module over to to your theme. It is dashboard/views/modules/guest.php you need to put a copy in you theme at /views/modules/

    then you can add

    include $this->FetchViewLocation('passwordform');
    

    Another way you can do it is through theme hooks. Or plugins . Look that up.

    grep is your friend.

Answers

  • never tried to put that stuff there directly, i guess its missing some connections.

  • troppmanntroppmann New
    edited January 2012

    well, yeah...lol....

    but again, whats the stuff?

  • thats a good question. i might have to look further into that...

    whats the code you tried to paste between the {if}'s?

  • troppmanntroppmann New
    edited January 2012

    Wait, got it....

  • x00x00 MVP
    edited January 2012

    You can't have a static transient key.
    You don't put the sign in like that.

    grep is your friend.

  • ok, still works...

    got a better way?

  • x00x00 MVP
    Answer ✓

    smarty limits you considerably especially this implementation. You could create your own smarty function that calls this view.

    Where are you putting the login? becuase copy the guest module over to to your theme. It is dashboard/views/modules/guest.php you need to put a copy in you theme at /views/modules/

    then you can add

    include $this->FetchViewLocation('passwordform');
    

    Another way you can do it is through theme hooks. Or plugins . Look that up.

    grep is your friend.

Sign In or Register to comment.