On Thu, Apr 24, 2008 at 5:36 PM, alex bodnaru <[EMAIL PROTECTED]> wrote:
>
>  hi jorge, friends,
>
>  here are my templates that reproduce the problem.
>
>  the code i wish to run is in master.html at row 24.
>
>  it will not run if i move it inside the body of the page. that's only a
>  curiosity, and in my case i could move it out of the body.
>
>  however, code blocks run ideed inside the body of not xincluded pages.
>
>  thanks in advance,
>
are you running html emails? because the code here rendered instead of
showing the template :)

anyway please post code to http://paste.turbogears.org/ or a similar
service and link it to us here.

>
>
>  alex
>
>  Jorge Vargas wrote:
>  > On Thu, Apr 24, 2008 at 3:11 AM, alex bodnaru <[EMAIL PROTECTED]> wrote:
>  >>
>  >>  hi jorge,
>  >>
>  >>  thanks for your answer.
>  >>
>  >>  this happens in a genshi template which is xincluded the py:extension 
> way as per
>  >>  http://genshi.edgewall.org/wiki/GenshiRecipes/PyExtendsEquivalent.
>  >>
>  > are you trying to duplicate the default kid TG template in genshi? if
>  > so this is already done just check out the new quickstart projects
>  > which have genshi.
>  >
>  > could you post your code and/or traceback? maybe there is an error
>  > somewhere else.
>  >
>  >>  best regards,
>  >>
>  >>  alex
>  >>
>  >>
>  >>
>  >>  Jorge Vargas wrote:
>  >>  > On Wed, Apr 23, 2008 at 10:26 PM, alex bodnaru <[EMAIL PROTECTED]> 
> wrote:
>  >>  >>
>  >>  >>  hi friends,
>  >>  >>
>  >>  >>  while moving a template from kid to genshi, i notice that embedded 
> code works
>  >>  >>  only if located before the html head.
>  >>  >>
>  >>  >>  is this a general genshi limitation?
>  >>  > not at all see
>  >>  > http://genshi.edgewall.org/wiki/Documentation/0.4.x/templates.html#id1
>  >>  >>  best regards,
>  >>  >>
>  >>  >>  alex
>  >>  >>
>  >>  >>  >
>  >>  >>
>  >>  >
>  >>  > >
>  >>  >
>  >>
>  >>  >
>  >>
>  >
>  > >
>  >
>
>  >
>
>
>
>  page header
>
>  search 1 search 2 edit user login logout
>
>
>
>  advertisment1
>
>
>
>  advertisment2
>  page footer
>
>  Register Edit your data.   Delete your data.
>
>  Sign in Welcome ${tg.identity.user.display_name}. Logout
>
>
>
>
>
>

--~--~---------~--~----~------------~-------~--~----~
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