Create Journals
Update Journals

Journals
Find Users
Random

Read
Search
Create New

Communities
Latest News
How to Use

Support
Privacy
T.O.S.

Legal
Username:
Password:

Variable Details

The following are details on the LASTN_PAGE variable. For more information on modifying this variable, see the information about the style system.

LASTN_PAGE
view types:lastn
description: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.
can override:No; users of the style cannot override this. It may only be defined in the style.
variable type:HTML
properties:
name The user's full name, from the "user" field in the database.
name-'s An 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".
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.
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.
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.

*

Back to Developer Area.

© 2002-2008. Blurty Journal. All rights reserved.