Quote:
Originally Posted by cflsystems
Look in home.tpl - just before </body>. It calles load_defer_code and loads the css and js cached files. Same code is also loaded from service_head.tpl. I would assume the one in home.tpl is there just in case anything is loaded inline in other templates (for different modules) and not in <head>. Technically this code should not be there yes and moving it to head section will validate the page even with speedup tools enabled.
|
I moved both {load_defer_code type="css"} and {load_defer_code type="js"} from just before the "{if $active_modules.Wibiya}..."
to just after {include file="customer/service_head.tpl"}.
I then enabled the Socialize module, ran cleanup.php and the site validated.
Thanks.
Edit: I just noticed that by moving the load_defer_code that it removes the formatting on the product detail page for "Customers also bought", "Send to a Friend", etc. so it looks like it isn't really a fix.
