Theme development documentation

globo
globo's picture

Joined: 2005-02-07
Posts: 37
Posted: Mon, 2005-02-07 14:56

Hi,

I just looked at G2 and find it amazing. I currently work on a theme for PHPBB 2.0.11 and have started one for 4images. G2 seems to suit our site better though. However when looking for theme related documentation if found this:

Quote:
Themes

Themes are working, but are expected to change somewhat in the near future so we haven't fully doc'd them yet.

Is there a good spot to start from?

thanks for your support

globo

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2005-02-08 01:47

As far as I know there is no documentation about themes and layouts. It is best to just look at the matrix layout and theme. There are two ways to change it. You can either make a copy of the file you want to change and add the extension .local or copy the entire folder to a new folder and do a replace on the files for 'matrix' to whatever the folder is you copied it to. Also if you have any questions post here and someone will answer.

 
thumb
thumb's picture

Joined: 2004-05-26
Posts: 238
Posted: Tue, 2005-02-08 02:41

to add to lvthunder's points, another important point is the separation of layout from theme. Theme's define a page's fonts while layouts determine positioning of elements on pages. The goal of G2's interface is to make themes and layouts interchangeable to create more options for users.

So, if you like the Matrix layout, but not the Matrix theme, you can choose another or create your own theme.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-02-08 09:25

thumb70, I know I'm in a bad position here because I should write the integrations docs eventually, but isn't the templating/layouting/theming quite final, or will it change again? I guess lots of people are waiting for some guidance.
Ah, just found your task on sf.net, maybe you could update the end date :)

 
thumb
thumb's picture

Joined: 2004-05-26
Posts: 238
Posted: Wed, 2005-02-09 03:03

I think it is, but haven't poked my head into #gallery lately to chat about it. I started an outline of the documentation but haven't done much with it and am not sure when I'll have the time.

My primary focus, when I do find the time, is to deal with Matrix layout issues. Ahhh, the excuses I'll come up with to avoid documentation :-)

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2005-02-17 00:33
thumb70 wrote:
I think it is, but haven't poked my head into #gallery lately to chat about it. I started an outline of the documentation but haven't done much with it and am not sure when I'll have the time.

My primary focus, when I do find the time, is to deal with Matrix layout issues. Ahhh, the excuses I'll come up with to avoid documentation :-)

If you need help I can write a portion of it. Hopefully this documentaion will include all the gallery specific smarty tags and the php variables that set where stuff will be.