Atlanta .NET Regular Guys

News

Brendon Schwartz - Email Me
Matt Ranlett - Email Me

Brendon Schwartz

MVP Logo
Community Kit for SharePoint
View Brendon Schwartz's profile on LinkedIn

Matt Ranlett

Matt Ranlett MVP Logo

Community Links

Useful Links

SharePoint 2007

ASP.NET 2.0

Atlanta Area Bloggers

BizTalk

SharePoint 2007 WebControls

SharePoint 2007 Development

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

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)