View previous topic :: View next topic |
Author |
Message |
vkaryl Lurker

Joined: 21 Jan 2006 Posts: 3
|
Posted: Sat Jan 21, 2006 8:23 pm Post subject: I want to reduce the width |
|
|
of the large monthly calendar display. When I have time, I'll dig around in the code (for one thing, it's totally non-validating at the moment, I'm going to have to fix that eventually) but right now I need to get this one calendar up and working.
I need the main monthly calendar display to be 80% instead of 100% width. Can someone please tell me which files need to be edited? Deadlines are a PITA.... |
|
Back to top |
|
 |
Dan Admin / Developer

Joined: 19 Feb 2001 Posts: 2057
|
Posted: Sat Jan 21, 2006 9:03 pm Post subject: |
|
|
What do you mean by non-validating? As in, the admin validation won't work, or that user submissions aren't being displayed automatically (there's a config setting for whether or not to require validation)?
For the layout stuff, look at month.tpl in the templates folder.
Cheers,
Dan |
|
Back to top |
|
 |
vkaryl Lurker

Joined: 21 Jan 2006 Posts: 3
|
Posted: Sat Jan 21, 2006 9:10 pm Post subject: |
|
|
Um.... as in the calendar pages don't validate to XHTML 1.1, which I expect of all the sites I design - this one has to get up asap, and I'll fix that later.
Thanks - I'll give a look at that file.
(I'm not having user submits - I'm the only one that will be doing any input. So I'll have to figure out how to disable all of that too.) |
|
Back to top |
|
 |
Dan Admin / Developer

Joined: 19 Feb 2001 Posts: 2057
|
Posted: Sat Jan 21, 2006 9:15 pm Post subject: |
|
|
Ah. I've pretty much ignored XHMTL validity, since I don't see any purpose to it. If code works properly across all platforms, that's all I really care about. The day all the main browsers adhere to the same set of standards is the day I'll give it a second thought.
Cheers,
Dan |
|
Back to top |
|
 |
vkaryl Lurker

Joined: 21 Jan 2006 Posts: 3
|
Posted: Sat Jan 21, 2006 9:27 pm Post subject: |
|
|
For the next person who needs to know: adjusting the table width in month.tpl doesn't work.
I added a #calpage element to my css, set it to 750px, then surrounded the table stuff in month.tpl with <div id="calpage">. Works now.
Thanks. |
|
Back to top |
|
 |
Dan Admin / Developer

Joined: 19 Feb 2001 Posts: 2057
|
Posted: Sat Jan 21, 2006 9:37 pm Post subject: |
|
|
Sorry, I was looking at the wrong line in the template. The 100% setting there is just for the next/previous heading section. What I should have directed you to is the first 3 $calendar_main lines in month.php, which feeds into the month.tpl template. It's in the *.php file because the layout is arranged differently based on whether it's in printer friendly display mode.
Cheers,
Dan |
|
Back to top |
|
 |
|