remove login link for 'normal readers'

Topics: Controls, Themes
Sep 20, 2013 at 1:00 PM
in blogengine, there is a login page. for the readers of the blog, i would not like them to see the login page. i just want them to read the blog. is there any way to hide the login link but still enable admin people access the admin settings tab. perhaps, the main page will not show the login hyperlink, but another page which the admin people will know can access it through that page?

thks
ken
Sep 20, 2013 at 4:00 PM
You can hide that link by modifying the site master in your theme folder.
So for the standard theme open site.master, look for the code below and comment out the last two list items as shown.
<!-- Footer -->
        <footer class="Footer">
            <div class="Container">
                <nav class="NavBarFooter">
                    <ul class="clearFix">
                        <li class="Home"><a href="<%=Utils.AbsoluteWebRoot %>" rel="home"><span><%=Resources.labels.home %></span></a></li>
                        <li>|</li>
                        <li><a href="<%=Utils.AbsoluteWebRoot %>archive<%= BlogEngine.Core.BlogConfig.FileExtension %>"><%=Resources.labels.archive %></a></li>
                        <li>|</li>
                        <li><a href="<%=Utils.AbsoluteWebRoot %>contact<%= BlogEngine.Core.BlogConfig.FileExtension %>"><%=Resources.labels.contact %></a></li>
                        <li>|</li>
                        <li><a href="<%=Utils.FeedUrl %>" class="feed"><%=Resources.labels.subscribe %></a></li>
                        <li>|</li>
                        <li><a href="javascript:void(BlogEngine.filterByAPML())" class="apmlfilter"><%=Resources.labels.filterByApml %></a></li>
                        <!--
                        <li>|</li>
                        <li><a runat="server" id="aLogin"></a></li>
                        -->
                    </ul>
                </nav>
                <div class="License">
                    <p class="ltr">
                        Copyright &copy; <%=DateTime.Now.Year %> - Powered by <a href="http://dotnetblogengine.net" target="_blank">BlogEngine.NET</a> <%=BlogSettings.Instance.Version() %> - Theme by <a href="http://seyfolahi.net/" title="Web Designer - UI/UX" target="_blank">Farzin Seyfolahi</a>
                    </p>
                </div>
            </div>
        </footer>
        <!-- /Footer -->
Then whenever you want to log in, from the blog home type Account/login.aspx at the end of the address bar URL
http://blogs.pps-sightline.com/blogengine/Account/login.aspx