Advanced Templates: Adding Sidebar Items

Sidebar Items

Default items to add to your advanced template.

Your Photo

The photo from your author profile, which is uploaded by Editing Your Author Profile:

<div class="photo">
<img src="<$MTUserPhoto$>" width="<$MTUserPhotoWidth$>" height="<$MTUserPhotoHeight$>" alt="My Photo" />
</div>
Recent Posts Listing

Displays links to your 10 most recent posts:

<MTBlogIfArchives>
<h2>Recent Posts</h2>
<ul>
<MTEntries lastn="10">
<li><a href="<$MTEntryPermalink$>"><$MTEntryTitle remove_html="1" generate="1"$></a></li>
</MTEntries>
</ul>
</MTBlogIfArchives>
Recent Comments Listing

Displays links to your 10 most recent comments:

<h2>Recent Comments</h2>
<ul>
<MTComments lastn="10" sort_order="descend">
<li><MTCommentEntry><a href="<$MTEntryPermalink$>#c<$MTCommentID$>"><$MTCommentAuthor$></a> on <a href="<$MTEntryPermalink$>"><$MTEntryTitle generate="1"$></a></MTCommentEntry></li>
</MTComments>
</ul>
Archive Links

A list of your archives:

<MTBlogIfArchives>
<h2><a href="<$MTBlogRelativeURL$>archives.html">Archives</a></h2>
<ul>
<MTArchiveList best_archive_type="1" lastn="10">
<li><a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a></li>
</MTArchiveList>
</ul>
</MTBlogIfArchives>
Categories

A list of the categories used for the weblog (the categories that have posts assigned to them):

<h2>Categories</h2>
<ul>
<MTCategories>
<MTBlogIfArchives archive_type="Category">
<li><a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a></li>
<MTElse>
<li><$MTCategoryLabel$></li>
</MTElse>
</MTBlogIfArchives>
</MTCategories>
</ul>
About Page Link

Displays a link to your About Page. Your About Page is set up by Customizing Your About Page:

<div class="link-note">
<a href="<$MTUserSiteURL$>about.html">About Me</a>
</div>
“Email Me” Link

Displays a link to your email address. Set your email address by Editing Your Author Profile.

Your address will be automatically encoded for protection against most spam harvesters. However, if you are concerned about privacy, keep in mind that the most surefire way to protect against spam harvesters is to never display your email address at all.

<div class="link-note">
<$MTUserEmail$>
</div>
“Syndicate this site” Link

Displays a link to the RSS version of your site:

<div class="link-note">
<a href="<$MTBlogURL$>index.rdf">Syndicate this site (XML)</a>
</div>
Subscribe Link - “Add me to your TypePad People list”

Displays a link allowing your readers to add you to their People TypeList:

<div class="link-note">
<a onclick="window.open(this.href, 'blogroll', 'width=500,height=600,scrollbars=yes'); return false;" href="<$MTCGIPath$><$MTAppScript$>/lists?__mode=quickpost
&amp;is_qp=1&amp;type=1&amp;qp_href=<$MTBlogURL encode_url="1"$>">Add me to your TypePad People list</a>
</div>
Your Photo Albums

Displays an alphabetical list of your (public) photo albums, with thumbnail images.

<$MTGalleriesInclude$>
TypePad Recently Updated List:

Displays the list of recently updated weblogs from typepad.com.

<script type="text/javascript" src="http://www.typepad.com/updates/updates10.js"></script>
TypePad “Member Since”:

Displays the date that you joined TypePad.

<div id="powered">
Member since <$MTUserStartDate format="%m/%Y"$>
</div>
Powered By TypePad Link:

Displays a link to TypePad that reads “Powered by TypePad”

<div id="powered">
Powered by <a href="http://www.typepad.com/">TypePad</a><br />
</div>
Displaying TypeLists:

Use the TypeList Tags.


Copyright © 2003-2005 Six Apart

[top]