More sophisticated layout/styling of node pages
The following is intended for people not familiar with PHP coding and illustrates how to apply styling to content inserted into a page using PHP.
Here is an example of a very simple PHP snippet that displays the Site slogan.
<?php
/**
* the following displays the site slogan
*
*/
print variable_get("site_slogan", "");
?>Click for a simple example of how to add styling to the content displayed by the php snippet.
Using some simple HTML functions, such as creating a table or using DIVS, you can start creating much more sophisticated layouts using multiple snippets in the same page. For some guidance and tips it is worth looking at a more sophisticated php Snippet that inserts the site mission and a list of upcoming events in a 2 column table side by side, followed by a list of the recent weblog entries.
!--------------!---------------!
!--------------!---------------!
!------site----!--upcoming-----!
!----mission---!---events------!
!--------------!---------------!
!--------------!---------------!
!--------------!---------------!
!----recent weblog entries-----!
!--------------!---------------!
!--------------!---------------!
