I want to create a very specific front page so I have created a layout for it.
I want the css to be subtly different so I have created a stylesheet JUST for this layout and placed it in the theme/style/ folder.
Within the layout file this...
<style>
#page {
border: 1px solid red;
}
body {
padding-top:0;
}
</style>
...works (obviously).
Take it out and put in a stylesheet and it doesn't work when included as...
<link rel="stylesheet" type="text/css" href="../style/frontpage.css">
I can see that $CFG->theme gives the theme name, and $CFG->wwwroot so I can build a horrid looking link...
<link rel="stylesheet" type="text/css" href="<?php echo $CFG->wwwroot."/theme/".$CFG->theme."/style/frontpage.css";?>">
Which works, no problem there. However I'm certain there used to be a $themewww available or some such variable. Is there, or do I just build my own as above?
Best Regards
Dave