Author |
Topic  |
|
sqpost
Starting Member
9 Posts |
Posted - 01 March 2002 : 22:15:06
|
Can we add different "skins" and "design templates" to snitz? I dont know if we can apply this "skin" concept to web pages. There is no problem just to change buttons, icons, gifs, colours etc. but to change the "layout of the page" is not that easy. Can we use some sort of page tamplates to change the "look and layout" of the pages easily, without touching any lines of the code it self? For example can we decide and even can we make it a "custom choice", the menu layouts like top, buttom, side orientation ? And their order of apperance:login, main, mod and other menus, buttons, logos? Am I asking too much from a "simple!" discussion forum? But we deserve better and you guys doing this pretty much good so I am sure someone will bring the "freedom of design" to the snitz for non hard coders.
|
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 01 March 2002 : 22:27:50
|
Snitz is not by any means 'simple.'
I do not know of anyone who has come up with a way to drastically change the forums layout without hard coding for snitz or any other major forum for that matter.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
 |
|
Morpheus73
Average Member
  
Denmark
597 Posts |
Posted - 02 March 2002 : 05:21:27
|
quote:
Snitz is not by any means 'simple.'
I do not know of anyone who has come up with a way to drastically change the forums layout without hard coding for snitz or any other major forum for that matter.
You can do a lot with the ContentDisplayMod - not skinning, but easy design
 |
 |
|
joatham
Junior Member
 
United Kingdom
169 Posts |
Posted - 02 March 2002 : 19:41:55
|
Watch this space 
I'm working on something for skinning now. I've got color themes working, and skinning is under way now.
Maybe a while before it's ready to release though....
John
|
 |
|
sqpost
Starting Member
9 Posts |
Posted - 03 March 2002 : 04:50:24
|
quote:
Watch this space 
What is the best option for "layout tamplates" ? Is it the "mini parser" option which transforms the html tamplates into asp? or putting every table into functions and changing the order of the functions with another function?. Or...?
I would like to hear the possible solutions for "layout tamplates" approach with the minimum performance effect..
Edited by - sqpost on 03 March 2002 04:52:30 |
 |
|
joatham
Junior Member
 
United Kingdom
169 Posts |
Posted - 04 March 2002 : 14:05:46
|
The way I do it is by reading HTML, putting it through an asp tag-replacement routine, and the asp then sends it back to the client as HTML. The templates are stored in special HTML files on disc, but could just as easily be kept in a database I suppose.
You have to put certain limitations on the amount of customisation allowed though, otherwise it can be a nightmare to maintain, but so long as the code for reading the data and the code for outputting it are kept fairly modular, you can then allow people to choose where the "building blocks" can be placed and how they are styled.
Performance wise, it's just a bit of string replacement and doesn't give much performance hit on my servers.... (I've never measured it though)
John
|
 |
|
ROB
Junior Member
 
USA
347 Posts |
Posted - 04 March 2002 : 15:45:37
|
I attended Microsoft's Visual Studio .NET launch in La Jolla last Having successfully avoided getting sucked into their beta program, this was my first real glimpse at the .NET framework. 
One thing that impressed me was the separation of code and design. Forget about response.write! Instead, have a "design" page and a "code" page (or pages). The design page could even be built using <gasp!> a visual editor like Dreamweaver or Frontpage.
IMHO, if we were to work towards this concept (separating design and code), it would be a real boon to all Snitz-heads. And it would move us a step or two closer to a .NET version. 
Jeff Hester http://www.bigblueball.com Absolutely everything about Instant Messaging & Chat |
 |
|
|
Topic  |
|