Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Re: New default WebGUI templates > Re: New default WebGUI templates Goto page «Previous Page   1 2    Next Page»

New default WebGUI templates

User rogier
Date 5/7/2008 8:16 am
Views 604
Rating 0    Rate [
|
]
Previous · Next
User Message
rogier

I am currently working on a project that focuses on making themes for WebGUI. We are going to give the default templates an overhaul, and standardize all the classes. The goal is to be able to make a theme for a webgui site without needing to change anything in the templates.

I mentioned this in this discussion, and JT agreed and let me know he would accept it to the core.

 

The plan is this:

  • remove all inline and head tag css from templates
  • come up with a number of standard classes, which are used consistently in every template (like the "pagination" class, as it is used now)
  • remove all table layout that is used for positioning
  • replace template vars that are incorrect or not working (there are a few in the coll. system template)
  • come up with a set of rules for templates of new contributions (see also Arjan Widlak's email on the devlist: "The policy for contributions to the WebGUI core")
  • compliant with XHTML 1.0 strict, WCAG Priority 1, Section 508 (US) =~ Webrichtlijnen (NL)

 

I have a few questions:

1. What do y'all think of this?

2. Any more suggestions to add to the above list?

3. I have been looking at www.csszengarden.com for some ideas on the subject of designing css for existing html, because that is what making a theme for these new templates will be like. I'd love to hear some opinions on this. We don't want to be limited in our design possibilities, so how does one make html that doesn't restrict a designer (or as little as possible)?

 



Back to Top
Rate [
|
]
 
 
dionak

First of all, kudos for taking this on. CSS Zen Garden is a great example of what would be extremely useful with regards to the default templates. There are often times that we just need a way to reference an element and we end up creating a new template just to add an ID. We have also run across instances where a class is used but we need to specifically reference a single item, not every item with that class.

And then there are the inline styles...

I agree with the current goals and would only add, give us some ID's. I'm not specifically sure where but I'm sure we could discover where they are needed for both CSS and JavaScript.

My thinking has been similar; it would be a great benefit to be able to simply apply CSS to the default templates to completely adjust a site's appearance. 

I would be interested in creating some time to volunteer, especially in regards to planning, brainstorming and possibly locating unused variables.

Diona

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
rogier

Thanks, it's nice to see that you're on the same page on this.

I agree with the current goals and would only add, give us some ID's. I'm not specifically sure where but I'm sure we could discover where they are needed for both CSS and JavaScript.


Yes, very good, I'll add it to the list. I'm sure there's lots of places where an ID is preferred to a class.

I would be interested in creating some time to volunteer, especially in regards to planning, brainstorming and possibly locating unused variables.


That would be great, but I'll need to discuss this wil my colleagues and see if we can come up with some way of dividing tasks. We would like to set up something similar to the the community wiki, for templates only. We could make a (dynamic) set of rules, so that anyone can take an old template and revise it, and add new rules when needed.



Back to Top
Rate [
|
]
 
 
patspam
I'd suggest you consider building your css with YUI reset/grids/fonts.css since they're clean and powerful and take care of a lot of cross-browser stuff (and YUI is already bundled with wG).

Patrick

On Thu, May 8, 2008 at 12:17 AM, <rogier@unitedknowledge.nl> wrote:
rogier wrote:

Thanks, it's nice to see that you're on the same page on this.

I agree with the current goals and would only add, give us some ID's. I'm not specifically sure where but I'm sure we could discover where they are needed for both CSS and JavaScript.


Yes, very good, I'll add it to the list. I'm sure there's lots of places where an ID is preferred to a class.

I would be interested in creating some time to volunteer, especially in regards to planning, brainstorming and possibly locating unused variables.


That would be great, but I'll need to discuss this wil my colleagues and see if we can come up with some way of dividing tasks. We would like to set up something similar to the the community wiki, for templates only. We could make a (dynamic) set of rules, so that anyone can take an old template and revise it, and add new rules when needed.



http://www.plainblack.com/webgui/dev/discuss/new-default-webgui-templates/2


--

Plain Black&#44; makers of WebGUI
http://plainblack.com




Back to Top
Rate [
|
]
 
 
JT
I agree with patspam entirely. Internally we had already decided that when we get time all the page layout templates would be rebuilt using YUI grids. Makes sense that all the templates would go that way.

On May 8, 2008, at 8:05 AM, <pat@patspam.com> wrote:
patspam wrote:

I'd suggest you consider building your css with YUI reset/grids/fonts.css since they're clean and powerful and take care of a lot of cross-browser stuff (and YUI is already bundled with wG).

Patrick

On Thu, May 8, 2008 at 12:17 AM, <rogier@unitedknowledge.nl> wrote:
rogier wrote:

Thanks, it's nice to see that you're on the same page on this.


I agree with the current goals and would only add, give us some ID's. I'm not specifically sure where but I'm sure we could discover where they are needed for both CSS and JavaScript.



Yes, very good, I'll add it to the list. I'm sure there's lots of places where an ID is preferred to a class.


I would be interested in creating some time to volunteer, especially in regards to planning, brainstorming and possibly locating unused variables.



That would be great, but I'll need to discuss this wil my colleagues and see if we can come up with some way of dividing tasks. We would like to set up something similar to the the community wiki, for templates only. We could make a (dynamic) set of rules, so that anyone can take an old template and revise it, and add new rules when needed.



http://www.plainblack.com/webgui/dev/discuss/new-default-webgui-templates/2


--

Plain Black&#44; makers of WebGUI
http://plainblack.com




http://www.plainblack.com/webgui/dev/discuss/new-default-webgui-templates/3

--

Plain Black&#44; makers of WebGUI
http://plainblack.com


JT Smithph: 703-286-2525 x810fx: 312-264-5382
Create like a god. Command like a king. Work like a slave.


Back to Top
Rate [
|
]
 
 
rogier

I agree with patspam entirely. Internally we had already decided that when we get time all the page layout templates would be rebuilt using YUI grids. Makes sense that all the templates would go that way.

So this would be a requirement for accepting the templates to the core? I've never worked with the yui css, so i'll look into it.

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl



Back to Top
Rate [
|
]
 
 
JT
> So this would be a requirement for accepting the templates to the  
> core? I've never worked with the yui css, so i'll look into it.
>

Sounds good to me.


JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
koen

I am currently working on a project that focuses on making themes for WebGUI. We are going to give the default templates an overhaul, and standardize all the classes. The goal is to be able to make a theme for a webgui site without needing to change anything in the templates.

This is awesome and exactly what WebGUI needs to take a big step for useability. Way to go!

 

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization



Back to Top
Rate [
|
]
 
 
rogier

Update:

Looked at YUI css, which is nice but has some problems:

  • The css does not validate. We'll contact the YUI guys and see if we can do something about it.
  • We're not sure if the grids.css works well with WebGUI, because of the structure of the style and layout templates and because of wobject focus. So we are going to test this first.

Q: Has anybody worked with the grids css in WebGUI before? If so, what were your findings?

 

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl



Back to Top
Rate [
|
]
 
 
JT
> Q: Has anybody worked with the grids css in WebGUI before? If so,  
> what were your findings?
>

Yup. I used it to layout several of the features in the new EMS in  
7.5. They work great. The only one you might have trouble with is the  
reset one and that's because it resets all the spacing.

JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
     Re: New default WebGUI templates > Re: New default WebGUI templates Goto page «Previous Page   1 2    Next Page»




Smoketest For nightly_2008-05-17 by Visitor - Sat @ 12:52am

Smoke Test for SVN (2008-05-17) by botaction - Fri @ 11:48pm

shopping cart by pilaf153 - Fri @ 09:18pm

Re: Store Front help by pilaf153 - Fri @ 09:16pm

Extending TinyMCE by philadev - Fri @ 11:31am

Re: Bilingualism by Klaus - Fri @ 07:34am

Re: Bilingualism by bepo - Fri @ 06:00am

Smoketest For nightly_2008-05-16 by Visitor - Fri @ 12:52am

C2: JSON collateral rewrite by colink - Fri @ 12:00am

Smoke Test for SVN (2008-05-16) by botaction - Thu @ 11:48pm

Recommendation for web chat system? by bernd - Thu @ 02:27pm