[Php-calendar-discussion] Compact version of php-calendar
Brought to you by:
sproctor
From: Gabriel H. <ga...@ga...> - 2005-07-10 15:20:02
|
Hi all, Someone recently talked about wanting a more compact layout for php-calendar which is something I've had for a while. I've just upgraded from 0.9 to 0.10.4 and had to redo all the modifications I made to get the display more compact and have put the changed files into a zip. If you want to install the modifications all you need to do it extract the files into your php-calendar folder. There are only four changed files: index.php, calendar.php, display.php and style.php. The zip is at http://www.gabrielharrison.co.uk/php-calendar/0.10.4-compact/0.10.4-compact-mods.zip and includes a screenshot of what it looks like. I have added comments to all the bits I have modified. Just search for GH2K05 in your favorite editor to see the changes. The comments show what I've added and what I've removed. To avoid loads of comments in the style.php and haven't removed rules that I have changed but simple added a new rule that overrides the original one. The only modification I am not entirely happy with is the positioning of the navbars. I have used absolute positioning to minimise that amount of modification I had to do but this means that if the browser window is too narrow it will overlap the page title. Ideally the navbars would have been integrated with the title to stop this. If anyone has a better solution please let me know. I hope the mods useful, Gabriel -- Gabriel Harrison Web Development and IT Support 1 Hawthorn Crescent Durham DH1 1ED Tel: 0191 370 9181 Mob: 07939 231 720 |