Getting activities block contents into header?

Re: Getting activities block contents into header?

by Darren Smith -
Number of replies: 0

No? Ok, how about a bit of help with the syntax for doing it this way in the header:

if assignment_ module is used on this course { echo (" print image and link"); }
if echo-assignment_ module is used on this course { echo (" print image and link"); }
if quiz_ module is used on this course { echo (" print image and link"); }

I bit more clunky (but simpler for me to understand!) and it's still better than what I have now, which is a set of all activities regardless of whether they are used in the course or not.

Thanks

Darren