Voting starts in March for the Drupal Association Board election.
The PHP SNIPPETS come with a brief introduction on what it does and if it only works with specific versions of Drupal.
Some are very similar to how you SETUP CUSTOM BLOCKS WITH CONTENT THAT APPEAR IN THE SIDEBARS but the snippets below are intended for use within your main NODE page as opposed to your sidebars.
Once you get used to how the PHP Snippets work and if you are familiar with how to setup up a HTML table or using DIVs, you can mix snippets together in the same page creating sophisticated layouts like those found at http://www.mtv.com or http://www.yahoo.com.
- Go to CREATE CONTENT -->> PAGE
- Give your page a TITLE
- In the BODY text area, paste in your PHP Snippet. Make sure you include the opening and closing PHP statements and remove any extra spaces, line breaks after the final
?>which tells drupal that this is the end of the php page.
- Select the PHP CODE filter.
- Click SUBMIT or PREVIEW to view your page.