FRIENDS_PAGE — The HTML for the friends' most recent journal entries page (friends view) that's sent to the browser. Customize this as you'd like your page to look.

View Types:



No; users of the style cannot override this. It may only be defined in the style.

Variable Type



name The user's full name, from the "user" field in the database.
name-'s An apostrophe followed by an "s" if the user's name does not end in "s", else just an apostrophe. Used in conjunction with the "name" property, can be used to show possession. For instance, "%%name%%%%name-'s%% Journal" could translate to "Bob's Journal".
website If the user has specified their website, this block is filled with the contents of FRIENDS_WEBSITE.
skyscraper_ad HTML for printing a skyscraper ad, if available. See FRIENDS_SKYSCRAPER_AD.
open_skyscraper_ad HTML for printing a wrapper around a skyscraper ad and user content. See FRIENDS_OPEN_SKYSCRAPER_AD.
close_skyscraper_ad HTML for printing a wrapper around a skyscraper ad and user content. See FRIENDS_CLOSE_SKYSCRAPER_AD.
control_strip HTML for printing a control strip along the top of the page.
5linkunit_ad HTML for printing an ad with 5 link units. See FRIENDS_5LINKUNIT_AD.
events If friends are defined, this is equal to the FRIENDS_EVENTS variable, else it is equal to a message saying that no friends are defined... FRIENDS_NOFRIENDS. [required]
username The system username of the current user, useful in creating links to other views of your journal, like to the calendar view.
title A title the user has chosen for their friends page. Normally used in the HTML title tags and also sometimes in a page heading.
range Text that describes the range of items being displayed. Will be equal to either FRIENDS_RANGE_MOSTRECENT or FRIENDS_RANGE_HISTORY.
skiplinks The "skiplinks" are the things that let you go back a page and forward a page. If one of "back" or "forward" is applicable, then FRIENDS_SKIP_LINKS is put here.
numitems The number of events that are going to show in the "events" property, as specified by the FRIENDS_OPT_ITEMS variable. Deprecated: you should now use %%range%% instead of this property.
head Any user-specified content to go inside the document's <HEAD>, like CSS or META tags. The value is GLOBAL_HEAD followed by FRIENDS_HEAD. You shouldn't define the *_HEAD variables in the style, as users should set them themselves.
urllastn URL to user's lastn view.
urlcalendar URL to user's calendar view.