Good morning

I understand that Turbine tries to manage the <head> portion of a template itself, but I'm wondering how I can modify my <head>. I need to add a stylesheet, and potentially other content to my head. What I tried was:

------------------------------- templates/layouts/blue.vm --------------------------------
<head>


<link rel="stylesheet" type="text/css" media="all" href="$content.getURI("templates/layouts/blue/style.css")" />

</head>

....
--------------------------------------------------------------------------

And I got:

--- templates/screens/admin/adminmain.vm (browser output) ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd";>
<html><head><title>Admin Main</title></head><body>


<head>
<link rel="stylesheet" type="text/css" media="all" href="http://venom.erin.utoronto.ca:8080/datasphere/templates/layouts/blue/
style.css" />
</head>
...
---------------------------------------------------------------------------


Which does apply the style-sheet, but doesn't look at all right (note: two head definitions). I'm sure there's a way to insert code into the head, but I can't think of how. From the documentation on either site, I guess it's a grey area between Velocity and Turbine?

Thanks for your time.
___________________________________
Keith Seim • http://kjsdesigns.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to