On Thursday, July 3, 2003, at 09:20 AM, Engelhardt, ITS BetrWi AE2, FD wrote:
Keith, here is the whole tread about this topic: http://www.mail-archive.com/turbine- [EMAIL PROTECTED]/msg10192.html
Dieter
-----Ursprüngliche Nachricht----- Von: Keith Seim [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 3. Juli 2003 15:10 An: [EMAIL PROTECTED] Betreff: How to customize <head>
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
