Themes

 
 
It's only an avatar...
Re: Svar: Re: Moodle 2.0 anomaly theme
Group DevelopersGroup Documentation writersGroup Particularly helpful MoodlersGroup Testers

Thanks Richard I missed that closing bracket. I also missed them off the url CSS. sad

 
Average of ratings: -
Picture of Gunilla Brattberg
Svar: Re: Svar: Re: Moodle 2.0 anomaly theme
 

Thank you!

In general.css I tested to write

h1.headermain {
    background: #fff url([[pix:theme|logo]]) no-repeat left top; 
   
float: left;
    height: 100px;
    width: 350px;
    margin-left: 25px;
    padding-top: 30px;
}

It didn´t import the logo-image.

and in general.php I tested

<h1 class="headermain"><?php echo $OUTPUT->pix_url('logo', 'theme')?></h1>

which resulted in the following header:

http://www.varkstaden.se/logo/theme/image.php?theme=anomaly&image=logo&rev=281&component=theme

 

 
Average of ratings: -