Reference Guide
facebook FBML Reference Guide Page 120 of 159
Page navigation
Fb:dashboard
Description
Renders a standard Facebook dashboard header.
Dashboards can contain the following elements:
fb:action
fb:create-button
fb:help
Attributes
Examples
<fb:dashboard></fb:dashboard>
Notes
For an application with an icon, the icon appears next to the application title.
You cannot include tags like fb:if-user-has-added-app inside a dashboard. You can do the equivalent as
illustrated below to create a dashboard that determines when a user has or has not added an application. This
snippet mixes in Smarty code. While you can refactor this code, the detail is included for those unfamiliar with
Smarty.
<fb:if-user-has-added-app>
{if $isOwnSchedule == 'true'}
<fb:dashboard>
{include file='header-actions-internal.tpl'}
</fb:dashboard>
<fb:else>
<fb:dashboard>
{include file='header-actions-internal.tpl'}
<fb:action href="http://apps.facebook.com/add.php?api_key=">Add this app</fb:action>
</fb:dashboard>
{else}
<fb:dashboard>
{include file='header-actions-external.tpl'}
www.yapish.com










