foxfirefey: A fox colored like flame over an ornately framed globe (0)
foxfirefey ([personal profile] foxfirefey) wrote in [community profile] style_system 2010-10-16 06:20 pm (UTC)

Hrm, no, that is not the problem--Crossroads inherits from Core2, where both print_head and print_custom_head are defined:

function Page::print_head() {
    print $.head_content;
    $this->print_custom_head();
}

function Page::print_custom_head() {
    # blank
}


So alas this is not working as it should I think, and it must be fixed! Now I'm wondering where the problem is. I don't think it's the cleaner...

Anyway, we're going to have to do what I hoped not to do: copy the function Page::print() function into the theme layer you are making and edit it instead. You should probably find the section of <head> inside all the printing and be able to add your tag there--this time I tested doing that and it worked something like:

    """
    >!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"<
    >html xmlns="http://www.w3.org/1999/xhtml"<
    >head<""";
        $this-<print_head();
        $this-<print_stylesheets();
        $this-<print_head_title(); 
        """>meta name="description" content="TESTING" /<""";
    println ">/head<";


WOE. And I will file a bug to try and figure out why that darned function that was supposed to work for cases like this is not!

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting