How can I make my subtheme so that it will not write the head section?

Comments

fubhy’s picture

Status: Active » Fixed

disable all zones in that section.

Skydda’s picture

Status: Fixed » Active

I mean like there is html tag and there is head tag

I would like to take of all useless things in head before the ajax gets the site

fubhy’s picture

There are no useless things in :P

Removing things from there really should be avoided. Why do you even want that? A lot of stuff is being printed into the in the html.tpl.php. Also take a look at all "html" preprocess and process hooks.

Skydda’s picture

Actually most of the stuff in there is useless, I just need one div : )

So I need to edit html.tpl.php? And corresponding preprocess / process files?

fubhy’s picture

You want a

in ?!?

fubhy’s picture

You want a

in ?!?

Skydda’s picture

Status: Active » Fixed

fubhy thank you for your help.

My site loads content from div tag on one of my nodes.
I have html.tpl.php on which I have conditional check if get parameter contains variable.
If it contains that parameter, it will not write unnecessary parts (mainly head tag), so that it don't have to download all of that (bandwith reasons).

This problem is now fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.