Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By calebm12 on
Not sure if i do this through blocks or with a different module that makes the block. But i am looking to do something similar to what is on the drupal main page in the left hand corner. Today they have a pic "Security Announcments" that can be clicked on and it will take you to a page. It seems to change everyday. How can i something similiar for my site. Something that serves more as an announcement of inhouse ad with a self designed pic bg.
Caleb
Comments
=-=
you can do it by creating a block. There is some randomizing going on there as well. Plenty of random.php snippets or rotate.php snippets that can be used.
Matter of fact the marinelli, theme comes packeged with a rotate.php file that could be used.
so you just create a block
so you just create a block and then set the source as a pic in the image folder?
just using the core block module.
does the randomizing php something i insert manually into the code? if so how do i specify what block it pertains to? or is this something i do at the block level with a module?
also on the drupal mine site it seems that all of their views have borders that are rounded.....this comes from the panel module right/
wow the marinelli theme is
wow the marinelli theme is great! hadnt seen that before today. gonna switch to that. just got to make sure i can make the header with a height greater that 200....i am guessign the css will allow this. that is a great looking theme though...thanks for the suggestion.