How can I add the GuestBook on the menu?

Oct 17, 2007 18:21

Hello everyone...! I have a question.
Custom Options > Menu......... I can see the explanation about guestbook.

» Text used to link to the Guestbook Entry (if it exists)
↑ this!!!!

And I have a guesbook which I can link. But, I don't know how can I link the guestbook.

Please help me....How can I add the GuestBook on the menu?

guestbook

Leave a comment

Comments 2

marilla_pm67 October 17 2007, 11:45:12 UTC
You have two choices,

- the first you define an entry on your LJ as guestbook, and you fill in this : » EntryID of the Guestbook : and gave the entry number....

Then you name your guestbook : » Text used to link to the Guestbook Entry (if it exists) : Guestbook or my private little words or what you want.

If you have an external guestbook, and you want to add the link in your menu, you must have a theme layer in which you define some new links...

here the code you have to use :

Modification of the Header links

function Page::lay_print_header_links() {
    # Menu start - do not modify
    """
    """;

    # Journal Navigation (Previous page, Next Page) - modify through the wizard
        var string prev_link = $this->lay_get_previous_url();
        var string prev_title = $this->lay_get_previous_title();
        var string next_link = $this->lay_get_next_url();
        var string next_title = $this->lay_get_next_title();
        print ($prev_link==""?"":"
  • $prev_title
  • ");
        print ($next_link==""?"":"
  • $next_title
  •     # Standard Journal Pages ( ( ... )

Reply

silverstarlee October 17 2007, 12:17:25 UTC
Oh! thanks a lot.
Your explain is perfect!!

And..I'll use the first method^^!!

Thank you very much once again*^^*
Have a nice day~!

Reply


Leave a comment

Up