I understand why no documentation is available; but is there a link to a draft?

After reading the Conversion from 6-7 (not much other documents I can find) and looking at converted themes; I get the feeling something has changed; for example:
These are undefined in page.tpl.php: $head_title, $styles, $scripts, $rdf_namespaces, $grddl_profile

I use to create the head section; now its doing it on its own and trashing my style sheet links.
Can someone tell me what's up with this?

How do I add style sheets dynamically (they are not static links I can add to the info file)?

How do I keep drupal form overwriting the header?

Is there an example theme that works; besides the ones it ships with; they do not work the way I wish it to?

Thanks

Comments

Jeff Burnz’s picture

theres a new template called html.tpl.php which is where all the header stuff lives now, find it in modules/system/

needs to be documented here: http://drupal.org/update/theme/6/7

jflesher’s picture

Thanks; its hard working without docs or a good example.

After looking at this approach, I don't like it at all; it adds a level of complexity and in general makes life harder; things in my header are based on what's in the page.tpl.php; now its back to doing a rewrite to find ways around it.

I'm hoping that they make a way to bypass this bad idea; I say bad, because I can't think of one reason its better.

EDIT:
I see this is a can of worms already
http://drupal.org/node/469242
I just need to figure out how to do this the Drupal 7 way; seems x_preprocess_page; I think what is need is a good flow chart; like http://drupal.org/node/171194 for D7; but it needs to show the flow of all the x_page functions so themers will know what is available to them.

Jeff Burnz’s picture

Yeah, I've followed that thread all the way through, I'm not a big fan of it either, but there you go, we have to live with it now - see this:

http://drupal.org/node/579698#comment-2060172