Hi can anyone help,

I have a collection of standard blocks with text and an image in them named 1 through to 10 and I need to display these blocks randomly in the right sidebar when the page loads.

Can anyone please help?

Nick Adams

Comments

varkenshand’s picture

Random images can be generated by the rotate.php script. Images combined with text are more difficult.

I would recommend to try the Quotes module. Quotes are stored as nodes, so you should be able to manually insert an image into them using full html. Quotes can be displayed as blocks, so from there on it should be easy to configure.

n1ckyb0y’s picture

Hi varkenshand

Thanks for your reply. I have created the quote but how do I get it to display in a block?

Nick

varkenshand’s picture

In Drupal 5 and 6: Administer - Quotes - Configure Blocks.
Afterwards you should Administer - Blocks to choose the sidebar.

n1ckyb0y’s picture

Thanks varkenshand. That's Great. Just the job.

Regards

Nick Adams