Welcome Guest Search | Active Topics | Members | Log In | Register
Login page Options
aline
Posted: Monday, June 29, 2009 2:41:21 PM
Rank: Newbie

Joined: 6/11/2009
Posts: 2
Is it possible to remove the Login text link and Search link on the login page? The login text link seems to be repetitive in that in brings up the login box again and you can't search unless you're logged in anyway.

Thank you
Roger Martin
Posted: Monday, June 29, 2009 3:15:20 PM
Rank: Administration

Joined: 8/3/2007
Posts: 1,698
Location: Fort Atkinson, WI
Since you posted this in the dev forum, I assume you are able to edit the source code. If so, you can hide the login and search controls in the page load event of the login page. Open the code behind for the page Website/gs/pages/login.ascx and add a couple lines:

Code:
protected void Page_Load(object sender, EventArgs e)
{
  this.GalleryControl.ShowLogin = false;
  this.GalleryControl.ShowSearch = false;

  ... rest of function not shown...
}



Roger Martin
Creator and Lead Developer of Gallery Server Pro
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.2 (NET v2.0) - 9/27/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.