Spike Speigel (spikespeigel) wrote in component_help,
Spike Speigel
spikespeigel
component_help

  • Mood:

I must be stupid...

Because I still can't add extra components for the life of me. Could someone please look at my code and tell me what I'm doing wrong? Thanks in advance.

layerinfo "type" = "theme";
layerinfo "name" = "mytheme";

function Page::print_custom_head() {
"""

""";
}

function print_free_text(Page p) {

print_comp_header($*free_text_text);
"""$*free_text""";
print_comp_footer();

print_comp_header("current favorites");
"""












""";
print_comp_footer();


}

function print_free_text(Page p) {

print_comp_header($*free_text_text);
"""$*free_text""";
print_comp_footer();

print_comp_header("Working");
"""





""";
print_comp_footer();

}

ETA

I don't know how to leave the coding without showing the images, but basically the second component isn't showing up on my LJ. Am I missing something?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 4 comments