Re: FUDforum Layout Contest!!! [message #28783 is a reply to message #26425] |
Fri, 11 November 2005 14:46 |
|
JamesS
Messages: 275 Registered: July 2002 Location: Atlanta, GA
Karma: 0
|
Senior Member |
|
|
Actually, more widespread changes is why I am in favor of a simpler stylesheet. If I were to rework it I would probably split it up thusly:
1) A stylesheet that styles the overall layout. It would mostly just style the tables and divs that are used on every page of the forum. Any style that would be used on every page (such a styling of links) should go in this sheet.
2) A stylesheet for the index page. This would style the text and links on the main index page. The styles in this sheet would more than likely be used by the category and forum views.
3) A stylesheet for the thread view. Stuff like the "code" tag doesn't need to be in the other two sheets. This sheet could also be used for post composition.
It may sound complicated but it really isn't. I think it actually simplifies things. Every element wouldn't have to have a specific class or three. This would reduce the overall size of the markup as well as the size, and complexity, of the stylesheet. Which in turn would increase performance a bit.
[Updated on: Fri, 11 November 2005 14:46] Report message to a moderator
|
|
|
Re: FUDforum Layout Contest!!! [message #28785 is a reply to message #28783] |
Fri, 11 November 2005 14:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Separate stylesheets would actually decrease performance since you'd need to load >1 stylesheet per page.
Having individual stylesheets for separate pages is a bad idea IMO.
FUDforum Core Developer
|
|
|
Re: FUDforum Layout Contest!!! [message #28794 is a reply to message #26425] |
Fri, 11 November 2005 14:55 |
|
JamesS
Messages: 275 Registered: July 2002 Location: Atlanta, GA
Karma: 0
|
Senior Member |
|
|
It would only decrease it the first time a user views the page. Once the styles are cached they aren't redownloaded again until they have changed, as I am sure you know. Even then, though, the user usually has to clean out their cache. Plus, you wouldn't have to include all three stylesheets on every page. The only page that would have, at most, three sheets referenced would be the thread view page. And really, how is sending a whole bunch of useless information faster than sending less, more relevant, information?
Also, the stylesheets could still be sent in one request by using the @import rule instead of referencing them with a link.
|
|
|
Re: FUDforum Layout Contest!!! [message #28847 is a reply to message #28794] |
Sat, 12 November 2005 19:53 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
I believe you have a very interesting, sophisticated, fast, and efficient theming system. However, I believe you would have more people interested in making themes if it were less complicated. The web-based template editing is very sophisticated and it requires a lot of time to understand and then use. Some people I know, who have looked at it, didn't even want to try to understand it. The thing I do like about it is that I know of no other forums that provides such an interface into the templating system. Maybe a different layout for this would be beneficial. I can think of nothing at the moment, however. As for designing themes, the modular approach is also complex and requires much time to learn the layout of the files. I think it would be very helpful if there were some kind of interface, whether it be win32 based or web based, for designing the theme. The template editor is a good start. I think it can go any direction from there and it will be better. Anyway, these are just some thoughts I had a few days ago during a conversation with someone at work. I hope it helps in some way.
|
|
|
|
|
|