[generator] Displayed Name Customization

Jul 26, 2002 15:50

For the system's Generator style, if you would like to customize the displayed name on your most recent entries page (the name directly above the "userinfo|livejournal userinfo" and "calendar|livejournal calendar" links, and to the right of the default icon --if one is selected) but do not want to change the "name" associated with your journal elsewhere by changing your name on the editinfo page, you can do so through use of the following override. This override works by first rendering the existing name invisible, then putting a new name in its place--

If you would like to customize the browser's title line, see this tutorial.

LASTN_WEBSITE<=

[
website
|
%%name%%
]

My new name.

<=LASTN_WEBSITE
This override will be operational only if the livejournalist actually specifies a personal webpage URL under the profile settings. In the sample code given above, the website link is retained, via the first portion of our sample code. That part of the code can be deleted if display of the webpage link is not desired; but the webpage must still be specified in the profile settings in order for the override to work.

Of course, text shown with yellow background can be customized to taste.

Variable Reference:

LASTN_WEBSITE

Additional References:

  • Merging Your GLOBAL_HEAD Note the techniques described can be used to merge any variable, including LASTN_WEBSITE.
  • What are overrides? How do they work?


  • Only one override is permitted for each specific override block.
    If you are currently using a LASTN_WEBSITE override, then that override would need to be revised to reflect changes presented here or otherwise merged.

    contributed by macheide

    - generator, journal title, displayed name

    Previous post Next post
    Up