[paidaccount] Journal Title

Jul 30, 2004 18:49


Paid Accounts OnlyThe following tutorial requires creating and editing a custom style, which in turn requires a paid, permanent, or early adopter account. Please read What are the paid account benefits? and How do I buy a paid account? to learn about the paid account benefits and how to buy a paid account.
This tutorial will replace the print_custom_head function. This new code will be placed in a theme layer. If you already have one of these for your style, you can simply edit it. If not, you will need to create one by following the instructions in the Theme Layer tutorial.

Now, you will need to add the following code to the theme layer. First, copy and paste the following code into the layer, making sure to include everything:

function Page::print_custom_head() { """ Page Title """; }
Simply replace the text highlighted in orange with your desired title. This will only change the title displayed in the browser title bar. This will not change any other instances of your journal title. If you would like to change all instances of your journal title, please see the information contained in FAQ 7.

NOTE: This override will not work for the following system styles because of how these styles are coded: Component, Opal, Unearthed. If you would like to customize the browser title bar for these styles, you will need to edit the relevant function with a custom theme layer (information on using custom theme layers) or create a new layout layer ( information on creating a new layout layer).

Compile your layer, and it's ready to use. You will need to apply your theme layer via the Customize interface in order for your changes to take effect.

Additional References Merging print_custom_head functions
What are the different S2 layer types?
Written by jennielynn1127.

- all styles, title, paid accounts only, journal title

Previous post Next post
Up