Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  "User Log In" always displayed on main homepage
Previous Previous
 
Next Next
New Post 5/31/2007 8:42 AM
User is offline Brian Stevenson
4 posts
10th Ranked


"User Log In" always displayed on main homepage 

I can't seem to figure out how to make the text "User Log In" disappear from <title></title> tag on my homepage.  When I click to any other page (after logging in) then it shows the appropriate title.  The only time the main homepage will show the correct title is when I go into "Design" mode using the control panel.  Any thoughts to correct this?

 
New Post 5/31/2007 9:33 AM
User is offline Chris Hammond
2471 posts
engagesoftware.com
5th Ranked








Re: "User Log In" always displayed on main homepage 

If you have the account login module installed on the page it will override the page title. I don't know why, but it does this.


Chris Hammond
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
New Post 5/31/2007 10:47 AM
User is offline dnninstalled
82 posts
10th Ranked


Re: "User Log In" always displayed on main homepage 

To disable this behavior, open up admin\Security\Signin.ascx.vb and search for the following lines:

           'Override the redirected page title
            Dim myPage As DotNetNuke.Framework.CDefault
            myPage = CType(Me.Page, CDefault)
            If myPage.PortalSettings.LoginTabId = Me.TabId Or myPage.PortalSettings.LoginTabId = -1 Then
                myPage.Title = Localization.GetString("ControlTitle_login", Me.LocalResourceFile)
            End If

You can either comment them out, or modify the behavior of the if statement.

The alternative is to make a hidden login page. That will set the LoginTabId to be something other than -1, and the "User Log In" will not show up on your homepage.

 
New Post 5/31/2007 10:51 AM
User is offline Brian Stevenson
4 posts
10th Ranked


Re: "User Log In" always displayed on main homepage 

Thanks!

That cleared it up.  I wish there was some kind of fix for this issue.

 
New Post 5/31/2007 11:15 AM
User is offline William Au
6 posts
goodshepherdchurch.no-ip.org:2839/
10th Ranked


Re: "User Log In" always displayed on main homepage 

You may edit \admin\Security\Signin.ascx.vb

Comment the Private Sub Page_Init just as the following:

Quoted

        Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
            'Set the Password Control Properties
            'ctlPassword.ID = "Password"

            'Set the Profile Control Properties
            'ctlProfile.ID = "Profile"
           
            'Override the redirected page title
            'Dim myPage As DotNetNuke.Framework.CDefault
            'myPage = CType(Me.Page, CDefault)
            'If myPage.PortalSettings.LoginTabId = Me.TabId Or myPage.PortalSettings.LoginTabId = -1 Then
            '    myPage.Title = Localization.GetString("ControlTitle_login", Me.LocalResourceFile)
            'End If

        End Sub

End Quoted

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  "User Log In" always displayed on main homepage
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, hosting, maintenance, and training. Translation of conventional (non-DNN) sites welcomed. Cleanup of existing DNN sites welcomed.
www.swanzey.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP