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:



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".
events The 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]
username The system username of the current user, useful in creating links to other views of your journal, like to the calendar view.
title The base title of the user's journal, which is 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 LASTN_RANGE_MOSTRECENT or LASTN_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 LASTN_SKIP_LINKS is put here.
numitems The 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.
userpic An IMG tag showing your uploaded picture, if any. See LASTN_USERPIC.
skyscraper_ad HTML for printing a skyscraper ad, if available. See LASTN_SKYSCRAPER_AD.
open_skyscraper_ad HTML for printing a wrapper around a skyscraper ad and user content. See LASTN_OPEN_SKYSCRAPER_AD.
close_skyscraper_ad HTML for printing a wrapper around a skyscraper ad and user content. See LASTN_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 LASTN_5LINKUNIT_AD.
website If the user has specified their website, this block is filled with the contents of LASTN_WEBSITE.
head Any 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.
urlfriends URL to user's friends view.
urlcalendar URL to user's calendar view.