User Login on index page with satchmo

30 views
Skip to first unread message

Nik

unread,
Oct 1, 2010, 3:03:57 AM10/1/10
to Satchmo users
Hi,

I am new with satchmo.
I want to do some customization with satchmo. I want user login on
index page. After successful login, I want to show store info. Is it
possible with satchmo ?? If yes then, How ?

Thanks & regards.

Josh

unread,
Oct 1, 2010, 1:15:20 PM10/1/10
to Satchmo users
I am sure that this is possible, since its open source and extensible
you can do just about anything you want with satchmo/django. How
familiar are you with django?
Not a complete answer but check out (in the source code) satchmo_store-
>contact->templates->registration->login.html. Thats the login form,
you could potentially add that to your index page (the default is
found here satchmo_store->shop->templates->shop->index.html and then
make the rest of the index page auth required. Hope that helps!

-Josh

Nik

unread,
Oct 4, 2010, 2:44:44 AM10/4/10
to Satchmo users
Thank you very much Josh.
It helps.
Thanks.

easypie

unread,
Apr 18, 2012, 12:44:55 PM4/18/12
to satchm...@googlegroups.com
I added the content from registration/login.html to my index.html but where to go from here? I need some directions. I tried to figure this out for over two weeks now. I can't seem to find the right information regarding this. I would like help piecing the puzzle together here. After copying the contents, how would I make the index page auth required and enable the form.username / form.password to work?
Reply all
Reply to author
Forward
0 new messages