Login link remove

Jelskedei

Joined: 2011-06-28
Posts: 4
Posted: Tue, 2011-06-28 15:53

I want to remove the loginlink at my gallery and I try to use the link, because I am the only user. But when I use this link:"www.myname.nl/mapname/index.php/login/ajax" as in the code, I cannot login. When I login, I have to download a page "auth_ajax", and at that page I get the message {"result":"success"}.
I downloaded the newest Gallery 3.0.2, have this problem with all the themes and I do hope someone has a resolution.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2011-06-28 16:44

Try a url that does not exsist you should be redirected to a login page
http://www.example.com/gallery3/index.php/logmein
Then use CSS to hide the link. It has been asked for before.
http://gallery.menalto.com/node/102240#comment-374785

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Jelskedei

Joined: 2011-06-28
Posts: 4
Posted: Tue, 2011-06-28 17:58

Thanx, this works. I read a few posts about this item, but the one you mentioned, I didn't see. And the others were complicated, like this one: http://gallery.menalto.com/node/96849

 
Mark D. Jacobsen

Joined: 2010-07-21
Posts: 1
Posted: Fri, 2011-12-02 03:18

I use an url that doesn't exist and get the message, "Dang... Something went wrong!"

When I goto this link to login http://eegalleries.com/galleries/index.php//login/ajax
I do successfuly login, but my browser wants me to download and ajax file. In that file it says, "{"result":"success"}"

I can easily remove the login link using the CSS as in this example. Just can't find a way to do that and login also.

I am using a custom theme, but just tried this on the Wind theme in Gallery3 with the same results.

Can't we just create a custom login page and remove the login link in the header?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2011-12-02 03:29

Mark D. Jacobsen,
you get the Daeng page because you are logged in. Log out and try a url that does not exist.
I tried: http://eegalleries.com/galleries/index.php/loggin and got a login prompt.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team