»

FRIENDS_PAGE

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:

friends

Overrideable:

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

Variable Type

HTML

Properties

nameThe user's full name, from the "user" field in the database.
name-'sAn apostrophe folled 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".
websiteIf the user has specified their website, this block is filled with the contents of FRIENDS_WEBSITE.
eventsIf friends are defined, this is equal to the FRIENDS_EVENTS variable, else it is equal to a message saying that no friends is defined... FRIENDS_NOFRIENDS. [required]
usernameThe system username of the current user, useful in creating links to other views of your journal, like to the calendar view.
titleA title the user has chosen for their friends page. Normally used in the HTML title tags and also sometimes in a page heading.
rangeText that describes the range of items being displayed. Will be equal to either FRIENDS_RANGE_MOSTRECENT or FRIENDS_RANGE_HISTORY.
skiplinksThe "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.
numitemsThe 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.
headAny 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.
urllastnURL to user's lastn view.
urlcalendarURL to user's calendar view.