Heathyr (tenmylove) wrote in component_help,
Heathyr
tenmylove
component_help

Hey, I need help with my codes :( I don't know what I'm doing wrong here, these are the same codes I was using about a month ago [before the layout I have now], but for whatever reason they just won't work.

This is the error code I get:

24: set weak_text = "#a78d84";
25: set box_width = 360;
26: set page_vlink = "#a78d84";
27:
28: function page_layout(Page p) {
29: # Set this to the width that you want both the navbar (if it exists) and the whole journal to be
30: # may be percentage (70%) or number of pixels (700px).
31: var string k1Swidth = "625";
32:


function page_layout(Page p) {
# Set this to the width that you want both the navbar (if it exists) and the whole journal to be
# may be percentage (70%) or number of pixels (700px).
var string k1Swidth = "625";

# Start the html document and print the head section which controls the page title, stylesheet information,
# server supplied head content, and custom header informtion from the print_custom_head function.
var string title = $p->title();
"""


""";

# Start the body section of the html document which controls the visible parts of the page.
"""""";

if($k1Swidth != "") {
"""
""";
}

# If you want a picture to be at the top of your journal, edit and decomment this section.
# """
caption here
""";

# Print the navigation bar if it is needed. This can be incorporated into any other tutorials which override
# the page_layout() function, and should be placed immediately after the tag above.
if (not $*comp_navbar or $*comp_state=="none") {
"""
""";
print "$*nav_entries_text";
print "$*nav_friends_text";
print "$*nav_calendar_text";
print "$*nav_info_text";
if ($p.journal.website_url != "") {
print "$p.journal.website_name";
}
$p->lay_viewspec_nav(); # prints previous / next links including arrow images
"""

""";
}

# Print a spacer at the top of the page above the components and main area.
"""
""";

# Start the table which lays out the components and main area in side-by-side layout
"""
"""; # If the components are supposed to be on the left side of the page, then print them, followed by a column # with a spacer which is to seperate the components and the main area. if ($*comp_state == "left") { print_my_components($p); """ """; } # Print the main area of the page. print_my_entries($p, $title); # If the components are supposed to be on the right side of the page, then first print a column with a spacer # and then print the components after the spacer. if ($*comp_state == "right") { """ """; print_my_components($p); } # Finish off the table for the body """









""";

if($k1Swidth != "") {
"""
""";
}

# End the body section and end the html document
"""


""";
}

function print_profile(Page p) {

print_comp_header("& the girl");
"""




& the icons




</a></b></a>tenmylove

www | @ | icons




""";
print_comp_footer();
}
function page_layout(Page p) {
# Set this to the width that you want both the navbar (if it exists) and the whole journal to be
# may be percentage (70%) or number of pixels (700px).
var string k1Swidth = "500";

# Start the html document and print the head section which controls the page title, stylesheet information,
# server supplied head content, and custom header informtion from the print_custom_head function.
var string title = $p->title();
"""


""";

# Start the body section of the html document which controls the visible parts of the page.
"""""";

if($k1Swidth != "") {
"""
""";
}

# If you want a picture to be at the top of your journal, edit and decomment this section.
"""
caption here
""";

# Print the navigation bar if it is needed. This can be incorporated into any other tutorials which override
# the page_layout() function, and should be placed immediately after the tag above.
if (not $*comp_navbar or $*comp_state=="none") {
"""
""";
print "$*nav_entries_text";
print "$*nav_friends_text";
print "$*nav_calendar_text";
print "$*nav_info_text";
if ($p.journal.website_url != "") {
print "$p.journal.website_name";
}
$p->lay_viewspec_nav(); # prints previous / next links including arrow images
"""

""";
}

# Print a spacer at the top of the page above the components and main area.
"""
""";

# Start the table which lays out the components and main area in side-by-side layout
"""
"""; # If the components are supposed to be on the left side of the page, then print them, followed by a column # with a spacer which is to seperate the components and the main area. if ($*comp_state == "left") { print_my_components($p); """ """; } # Print the main area of the page. print_my_entries($p, $title); # If the components are supposed to be on the right side of the page, then first print a column with a spacer # and then print the components after the spacer. if ($*comp_state == "right") { """ """; print_my_components($p); } # Finish off the table for the body """









""";

if($k1Swidth != "") {
"""
""";
}

# End the body section and end the html document
"""


""";
}

function print_profile(Page p) {

print_comp_header("& the girl");
"""




& the icons




</a></b></a>tenmylove

www | @ | icons




""";
print_comp_footer();
}

function Page::print_custom_head() {

"""


""";
}

### Override the printing of entries. This affects the Recent/Day pages, Friends pages, and Entry pages.
function print_entry(Page p, Entry e, Color bgcolor, Color fgcolor, bool hide_text) {

# Print the anchor to be used in the page summary.
if ($p.view=="friends") {
"""""";
} else { # for recent, day, entry pages.
"""""";
}

# Print the header for the entry. It prints in the default form "[ ]
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 7 comments