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 cgseymour on
Hello all,
I am working on a site for a baseball team. One of the features they want is a "From the GM" block, which will basically be thoughts and or comments from the general manager. My question is what is the best way to have him/her be able to update this block?
Should I create a custom content type? If I do that, how would I make it so only that type will appear in that block (From the GM)?
Thanks.
Chris
Comments
Will you want histroical
Will you want histroical content? If not then you could use a php snippet in a block and just have the GM edit the same node. http://drupal.org/node/38732
For grins I used it to display node/12 on my play site (http://beta.blkmtn.org/index.php?q=node/12) Look at the 'gm block'. Needs some work on formatting and such but it's a posible start. Another posbility is to create a 'GM' user. Turn on blog module for the GM user. Then have the block do a php script read of the latest GM user blog post and post the contents of that.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Thanks Steven, I did use a
Thanks Steven,
I did use a block and a PHP script. That was just what I wanted. I was able to use the SQL to order and limit it to 1 returned row.
Thanks.
Chris