WebGUI
      Click here to register.
      
View Cart (0)
IRC banner

View All Tickets
head block positioned incorrectly in template  (#3744)
Issue

When displaying the "head blcok" portion of a template (page layout or article, and I suspect others), the "head block" apears in the <body> tag instead of teh <head> tag as the name eludes to.

This creates invalid HTML, but more importantly, when using content profiling for meta tags per wiki: http://www.webgui.org/community-wiki/content-profiling

the metatags are not in the <head> block.

I'm unable to continue with metatags and content profiling.

LN

Solution Summary
Comments
elnino
0
4/15/2008 1:58 am

I believe this is in asset/Template.pm where it's dealing with headBlock. It needs to be sent to the style template when outputing head.tags - for proper placemnet of meta tags and html compliancy.

Graham
0
4/22/2008 10:14 am

There are some conditions where head sections will end up placed inline instead of in the header.  This has to do with how content chunking works.  For most normal pages, they will be in the header. Content included with an AssetProxy is processed after the head block has been sent, so the only choice is to output it inline.

Is this not matching what you are seeing?  Can you recreate this on a demo site and post complete instructions on how to do so?

Details
Ticket Status Closed  
Rating0.0 
Submitted Byelnino 
Date Submitted2008-04-15 
Assigned To unassigned  
Date Assigned2008-10-12 
Assigned By 
Severity Fatal (can't continue until this is resolved)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.4.26  
URLbugs/tracker/head-block-positioned-incorrectly-in-template
Keywords
Ticket History