Kat (_sweetmisery) wrote in component_help,
Kat
_sweetmisery
component_help

  • Mood:
  • Music:
I had tried to make a friend of mine a layout because it was one of her wishes on her list for Christmas, and I did just that. I tested it on my journal and everything is fine, but when she tried to put into her journal, she got these errors:

116:
117: function print_free_text(Page p) {
118: print_comp_header("HEARING");

I have tried everything to help her, and I really wanted this to be a Christmas gift for her. Please help. Thanks!



layerinfo "type" = "user";

set calendar_text = "CALENDAR";

set text_post_comment = "WAIT FOR LOVE";

set free_text = "";

set header_fgcolor_lt = "#000000";

set nav_entries_text = "ENTRIES";

set calendar_fgcolor = "#9a5427";

set calendar_inactive = "#a08765";

set show_free_text = true;

set text_read_comments = "FAILED";

set entry_fgcolor = "#d3c9bb";

set comp_bgcolor = "#665238";

set comp_navbar = true;

set header_fgcolor = "#4c3619";

set entry_link_visited = "#eeeeee";

set show_recentnav_icons = false;

set comments_screened_bgcolor = "#ffe9db";

set icalendar = true;

set calendar_active = "#a08765";

set nav_calendar_text = "CALENDAR";

set comp_fgcolor = "#d3c9bb";

set free_text_text = "";

set entry_link = "#eeeeee";

set profile_text = "USERINFO";

set show_entry_userpic = true;

set entry_bgcolor = "#7f694c";

set show_entrynav_icons = false;

set main_bgcolor = "#7f694c";

set nav_info_text = "ABOUT ME";

set show_profile = true;

set links_text = "LINKS";

set header_bgcolor = "#a08765";

set show_calendar = true;

set nav_friends_text = "FRIENDS";

set comments_bgcolor = "#7f694c";



function page_layout(Page p) {

var string title = $p->title();

"""

<html>

<head>

<link rel="stylesheet" href="$p.stylesheet_url" type="text/css" />

$p.head_content

<title>$title</title>

</head>

<body>

<td><center><img src="http://img.photobucket.com/albums/v11/kmar1228/Rebeccacopy.jpg"></center></td>

<table width="65%" cellspacing="0" cellpadding="0" valign="top" align="center">

<tr valign="top" width="100%">

<td width="3">

<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">

</td>

""";



if ($*comp_state == "left") {

print_my_components($p);

"""

<td width="3">

<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">

</td>

""";

}



print_my_entries($p, $title);

if ($*comp_state == "right") {

"""

<td width="3">

<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">

</td>

""";



print_my_components($p);

}

"""

<td width="3">

<img src="http://www.livejournal.com/palimg/component/clear.gif" width="3" height="1" alt="" border="0">

</td>

</tr>

</table>

</body>

</html>

""";

}



function print_profile(Page p) {

print_comp_header("PROFILE");

"""

<table cellspacing="0" cellpadding="0" border="0">

<tr>

<td width="50%" align="center">

</td>

<td align="center"><br /><a href="http://www.livejournal.com/allpics.bml?user=lavellebelle" alt="View my user icons">$p.journal.default_pic</a></td>

<td width="50%" align="center">

</td>

</tr>



<tr>

<td colspan="3" class="compContent">

<div><b>user:</b> <span class="ljuser" style="white-space:nowrap;"><a href="http://www.livejournal.com/users/lavellebelle/info"><img src="http://stat.livejournal.com/img/userinfo.gif" alt="userinfo" width="17" height="17" style="vertical-align:bottom; border:0;" /></a><a href="http://www.livejournal.com/users/lavellebelle"><b>lavellebelle</b></a></span></div>

</div>

</td>

</tr>

</table>

""";



print_comp_footer();

}



function print_my_entries(Page p, string title) {



    """<td valign="top" width="100%">""";



    $p->print_body();



}



function print_free_text(Page p) {

  print_comp_header("HEARING");

  """

<div id="Layer1" style="border:0px solid #878787; position:relative; width:100%; height:100px; z-index:1; overflow: auto; overflow-x: hidden; scrollbar-3dlight-color: #f1c9d4; scrollbar-arrow-color: #ffffff; scrollbar-base-color: #f1c9d4; scrollbar-darkshadow-color: #EBB2C2; scrollbar-face-color: #f1c9d4; scrollbar-highlight-color: #EBB2C2; scrollbar-shadow-color: #f1c9d4;">

<table width="100%" cellpadding="3" cellspacing="0">

<tr bgcolor="#6D5941">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/ThinkTank.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Blur</b><br><i>Think Tank</i><br> </td>

</tr>



<tr bgcolor="#A58663">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/BigFear.jpg"border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Common Rotation</b><br><i>Big Fear</i><br> </td>

</tr>



<tr bgcolor="#6D5941">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/Bellybutton.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Jellyfish</b><br><i>Bellybutton</i><br> </td>

</tr>



<tr bgcolor="#A58663">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/ModernLifeRubbish.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Blur</b><br><i>Modern Life is Rubbish</i><br> </td>

</tr>



</tr>

</table>



</div>



""";

  print_comp_footer();





print_comp_header("WATCHING");

"""

<div id="Layer1" style="border:0px solid #878787; position:relative; width:100%; height:100px; z-index:1; overflow: auto; overflow-x: hidden; scrollbar-3dlight-color: #f1c9d4; scrollbar-arrow-color: #ffffff; scrollbar-base-color: #f1c9d4; scrollbar-darkshadow-color: #EBB2C2; scrollbar-face-color: #f1c9d4; scrollbar-highlight-color: #EBB2C2; scrollbar-shadow-color: #f1c9d4;">

<table width="100%" cellpadding="3" cellspacing="0">

<tr bgcolor="#6D5941">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/alias.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>ALIAS</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#A58663">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/lost.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>LOST</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#6D5941">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/buffy.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Buffy the Vampire Slayer</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#A58663">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/angel.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Angel</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#6D5941">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/titanic.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Titanic</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#A58663">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/shawshank.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Shawshank Redemption</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#6D5941">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/say.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Say Anything</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#A58663">

<td align="left">

<img src="http://img.photobucket.com/albums/v11/kmar1228/LiveJournal/Component/jerrymaguire.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>Jerry Maguire</b><br><i></i><br> </td>

</tr>



</tr>

</table>

</div>

""";

  print_comp_footer();



}

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment