
The quick run down of what I did.....

1) I wanted to have banners assigned based on the title of the page being displayed - so I copied rotate.php to AssignByTitle.php

2) I modified AssignByTitle.php to do just that - see the copious comments therein

3) style.css

   The header style was calling ./img/banners/rotate.php directly and I needed to call it with an argument....

   So I removed the header style from style.css and dynamically write it out as an inline style from...

4) page.tpl.php

   Added the header style here with a call to the new function "marinelli_banner()" which outputs the proper 
   url for AssignByTitle?title=myPageTitle

   marinelli_banner() is in....

5) template.php

   I added marinelli_banner - a basic function to compose the proper url...

6) added the directory bytitle to ./img/banners

7) added welcome.jpg and aboutus.jpg to ./img/banners/bytitle


8) Thank singalkuppe for a great theme.... I hope you like my mods....

9) Ask if there was an easier way for 3 & 4?


Daniel Chapiesky
dchapiesky@cmtechnologyservices.net



