PDA

View Full Version : Is there a way to set the width


Jeremy
Thu 2nd Nov '00, 1:54pm
Is there a way to set the width of the bulletin boards? I have made custom headers and footers which are a set width (760 pixels) and I'd like to have the bulletin board line up perfectly.

eva2000
Thu 2nd Nov '00, 2:29pm
i'd look in the templates for the forumhome, forumdisplay templates first... i think there's more ?

Jeremy
Thu 2nd Nov '00, 2:36pm
So I have to go into the templates and modify EVERY table?!?! Why insn't there a global definition for this?

eva2000
Thu 2nd Nov '00, 2:50pm
really there's only 2 or 3 main templates like the one's i listed

JimF
Thu 2nd Nov '00, 2:59pm
Originally posted by Jeremy
Why insn't there a global definition for this?

Gee, let's make some more MySQL queries...

-jim

Wayne Luke
Thu 2nd Nov '00, 3:31pm
Steps to make a global definition for your main tables...

1. Log into Control Panel.
2. Scroll to replacement variables.
3. Create new called {tablewidth}
4. Enter in the value you want (i.e. 760)
5. In your templates one time replace all table width values so they read: width="{tablewidth}"
6. Open a beer and enjoy. :)

If you ever need to change the width again then just change the replacement variable.

Stallion
Thu 2nd Nov '00, 5:44pm
Jeremy is right on this one -- I was just aked yesterday about how to set the width. It was most likely an oversight when first released, but its a major pain trying to change all the templates. You just can't justify it.

Its almost as bad as people trying to justify creating per-forum styles by "merely" creating duplicate templates for each board and changing the variables manually... :)