»

LASTN_PAGE

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

View Types:

lastn

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".
eventsThe actual 'n' number of most recent events from the user's journal. Each individual event is formatted according to the LASTN_EVENT and related variables. Before events that occur on a new day, LASTN_NEW_DAY variables are inserted as well. [required]
usernameThe system username of the current user, useful in creating links to other views of your journal, like to the calendar view.
titleThe base title of the user's journal, which is 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 LASTN_RANGE_MOSTRECENT or LASTN_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 LASTN_SKIP_LINKS is put here.
numitemsThe number of events that are going to show in the "events" property, as specified by the LASTN_OPT_ITEMS variable. Deprecated: you should now use %%range%% instead of this property.
userpicAn IMG tag showing your uploaded picture, if any. See LASTN_USERPIC.
websiteIf the user has specified their website, this block is filled with the contents of LASTN_WEBSITE.
headAny user-specified content to go inside the document's <HEAD>, like CSS or META tags. The value is GLOBAL_HEAD followed by LASTN_HEAD. You shouldn't define the *_HEAD variables in the style, as users should set them themselves.
urlfriendsURL to user's friends view.
urlcalendarURL to user's calendar view.