Arbitrary block

Arbitrary block

by Dewet Diener -
Number of replies: 5
Is there an easy way to add an arbitrary container block besides the Main Menu? I need to use about four of these on the main page, and link to various things around the site. The alternative of putting labels inside the Main menu to seperate items isn't as elegant as I'd like mixed
Average of ratings: -
In reply to Dewet Diener

Re: Arbitrary block

by Darren Smith -
Would the HTML block do what you need?
In reply to Darren Smith

Re: Arbitrary block

by Dewet Diener -
Yes, that could work, but this site is running 1.4 (heavily customised) and it seems HTML is only available in 1.5?
In reply to Dewet Diener

Re: Arbitrary block

by John Papaioannou -
You will have to get your hands dirty with code then. Start with a simple enough block like Participants by making a complete copy of it, in another directory, with another name.

Change the class name in your new file to match your directory name, and replace the links/icons with those you want to see. This should allow the new block to be added to courses.