Assets and targets
Hi, I have been trying to add a module in the Body of the page. I am aware of the assets possible to target a module into.
The problem is that some assets will not accept or ignore to add module in other parts.
If I add the module asset target Head, it adds it in the head not the div Id Head. Looking at the source it appears after the body tag inside the head where the meta tags are not inside the Body.
I tired adding it after the render asset handlers so it would appear after the Head. But I realize it not in the proper Head it is in the head module.
I also tried to use the Menu module as a target since it is also an asset but that did not work either. What I want is for the module to be rendered in the Body after the Head and Menu before the Content.
But Body apparently is not an asset. I can only choose Head which makes it appear at the very top of the page but it does not work. The way this plugin works now is by using jquery to prepend the Body. It is the only way I can get this to work.
The only assets that will accept modules, are Head, Content, Panel, Foot
Why not include the Body? If it is not an asset, what is it? a container of assets ?
Is there a way to target the Body ? or make it render after the Head or Menu module ?
This is one of the only plugins I have not made into a module because it needs to target the Body part before the Content and the panel....would appreciate any clues...