[Disjointed] Altering Navigation Links

Jan 22, 2005 18:10

This tutorial will allow you to hide the existing navigation links (that is, the friends, calendar, userinfo links) in the disjointed style and add your own links into that area instead.

This override consists of two parts -- a LASTN_HEAD override and a LASTN_WEBSITE override.

LASTN_HEAD<=

<=LASTN_HEAD

LASTN_WEBSITE<=

my friends list

my archive

my user info

%%name%%

http://www.example.com/yourpage.html">name of link

<=LASTN_WEBSITE

This override will be operational only if the livejournalist actually specifies a personal website under the user profile settings. In the sample code given above, display of the website link is retained. The segment that retains the website link can be deleted from the override if so desired, as long as a website is still specified within the user's profile. You can also remove any of the links to other areas of your journal if you do not wish to see them on your page.

Note that although the website link code here can use LiveJournal variables that automatically pick up the right values (%%--%% and %%--%%), no variables can be used in any additional links. Thus, to add links to items that you would normally be able to use those variables for, you will need to use the full url.

You can use as many sections for additional links as you would like. If you would only like to add one extra link then you would remove the second set of tag along link code.

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 tinyjo

    - disjointed, changing navigation links, navigation banner, adding navigation links, navigation links

    Previous post Next post
    Up