Atlanta .NET Regular Guys

Community Blog for two guys in Atlanta that focus on Microsoft and Community.

Quick About

This is the community blog for Brendon Schwartz and Matt Ranlett.  If you want to see their technical posts visit http://www.sharepointguys.com

Back To DevCow

Recent Posts

Tags

Email Notifications

    Archives

    Add Login link to home page with Graffiti CMS

    After installing Graffiti CMS I found it difficult for end users to know where to log in.  Go ahead don't read the document called Readme.htm and see if you can find out where to log in.  Well after learning a little bit about Graffiti CMS I found out how easy it would be for me to add it.

    Start by clicking Personalize on your current theme and add the follow lines of code to your HTML.  You can obviously change it as you see fit.

    #if($macros.IsNull($user.ProperName))
            <b>You are not Logged in!</b> <br />
            Do you want to <a href="/graffiti-admin" mce_href="/graffiti-admin">Log in</a>
    #else
            $user.ProperName
    #end

    Here is how it looks and so simple.

    Login Script In Action