...oder die Flinte in den Korn...pepe wrote:"das Gewehr in's Getreide"

...oder die Flinte in den Korn...pepe wrote:"das Gewehr in's Getreide"
Code: Select all
if(count($LEVEL_ID)) {
foreach($LEVEL_ID as $val) $bodyclass .= $template_default['body']['class'].$val.' ';
$content['all'] = '<div class="'.$bodyclass.'">'."\n".$content['all']."\n</div>\n";
}
Code: Select all
$template_default['body']['id'] = 'myid_';
$template_default['body']['class'] = 'myclass';
Code: Select all
<body id="myid_10" class="myclass_10> <!--this comes out of the box-->
<div class="myclass_0 myclass_2 myclass_10 "> <!-- this comes from frontend_render-->
...content...
</div>
</body>
and so on...body#myid_10 div.myclass_0.myclass_2.myclass_10 { styles: here; }
body#myid_10.myclass_10 div.myclass_0.myclass_2.myclass_10 { styles: here; }
yep. couldn't find a way to inject body tag with frontend_render. So you'll get this div tag, but this shouldn't be a problem...Jensensen wrote: as you mentioned above, this does not affect --> body tag.
nope! so you will only affect level id 10 whithout any sublevel (and here #myid_10 {styles: here} would be enough code...)body#myid_10.myclass_10 div.myclass_0.myclass_2.myclass_10 { styles: here; }