You need to leave this tag in master.kid:

<meta py:replace="item[:]"/>

This tag copies (and is replaced by) everything in the head of your template
(e.g. welcome.kid) that has not been matched by another rule into the head
of the output (which is sent to users browser).

There is a similar rule in the body:
<div py:replace="[item.text]+item[:]"/>

At least this is my understanding.  If someone else has a better explanation
of the process, please chime in.

In any case, I would not mess with those tags without being very sure that
that was what I wanted to do.

Kevin Horn

On Jan 16, 2008 11:45 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

>
> A new quickstarted app didn't have this problem.  I found out that the
> reason
> I could not put script elements inside of head elements was because
> I removed the meta elements from master.kid.  Do you know what meta
> elements
> do that are important to script tags in head elements?
>
> Chris
>
> On Jan 15, 11:49 am, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> > Em Tuesday 15 January 2008 17:14:35 [EMAIL PROTECTED] escreveu:
> >
> > > Thanks.  It works now if I add additional script elements outside of
> > > the head element.  Do you know why you are not allowed to add more
> > > script elements in the <head> ??
> >
> > If you answer my previous questions I might help more.  It works for me
> be
> > them on the head section or not.
> >
> > --
> > Jorge Godoy      <[EMAIL PROTECTED]>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to