Created
May 31, 2012 21:02
-
-
Save ChrisHammond/2846256 to your computer and use it in GitHub Desktop.
Adding a website link to the Member Profile and Directory in DotNetNuke 6.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<-- Display some basic member info --> | |
<div class="pBio"> | |
<h3 data-bind="text: AboutMeText"></h3> | |
<p data-bind="html: Biography"></p> | |
</div> | |
<div class="pAddress"> | |
<h3 data-bind="text: LocationText"></h3> | |
<p> <span data-bind="text: Location()"></span><span data-bind="visible: Location().length > 0"><br/></span> | |
<span data-bind="text: Country()"></span><span data-bind="visible: Country().length > 0"><br/></span> | |
</p> | |
</div> | |
<div class="pContact"> | |
<h3 data-bind="text: GetInTouchText"></h3> | |
<ul> | |
<li data-bind="visible: Website().length > 0"><strong><span data-bind="text: WebsiteText">:</strong> <span data-bind="text: Website()"></li> | |
</ul> | |
</div> | |
<div class="dnnClear"></div> | |
<!-- ADD THE FOLLOWING INFO --> | |
<li data-bind="visible: Website().length > 0"><strong><span data-bind="text: WebsiteText">:</strong> <a href="" title="" class="profWebsite" data-bind="attr: { title: Website(), href: Website() }" rel="nofollow" target="_blank"><span data-bind="text: Website()"></span></a></li> | |
<!-- Message/Friend/Follow Link in Member Directory --> | |
<div data-bind="visible: !IsUser() && IsAuthenticated"> | |
<ul> | |
<li><a href="" title="" class="ComposeMessage"><span data-bind="text: SendMessageText"> | |
</span></a></li> | |
<li><span><a href="" data-bind="click: addFriend, visible: FriendStatus() == 0"><span | |
data-bind="text: AddFriendText"></span></a><span data-bind="click: addFriend, visible: IsPending()"> | |
<span data-bind="text: FriendPendingText"></span></span><a href="" data-bind="click: acceptFriend, visible: HasPendingRequest()"> | |
<span data-bind="text: AcceptFriendText"></span></a><a href="" data-bind="click: removeFriend, visible: IsFriend()"> | |
<span data-bind="text: RemoveFriendText"></span></a></span></li> | |
<li><span><a href="" data-bind="click: follow, visible: !IsFollowing()"><span data-bind="text: FollowText"> | |
</span></a><a href="" data-bind="click: unFollow, visible: IsFollowing()"><span data-bind="text: UnFollowText"> | |
</span></a></span></li> | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment