It's very dificult create a new theme and customize gallery2

dcarrero

Joined: 2004-04-06
Posts: 1
Posted: Tue, 2004-04-06 07:05

Hello,

It's very dificult create a new theme and customize gallery2

I like template html system, it's very easy for all user and desing for modify the desing of his gallerys.

Regards
David Carrero Fdez-Baillo
http://www.ferca.com
http://www.recursosgratis.com
http://www.azflash.com

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2004-04-06 16:35

There is a new theme and layout system in the works already. Stay tuned!

 
U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Thu, 2004-04-08 14:31

I had look onto theme development and I like it:
Most of personal design can be done by CSS – can custom allmost everything and it's strict and consistent. With a little bit of documentation it will be easy not only for html and css hardliners.

theme.inc is fine, also very strict (lots of work to make it that consistent I guess). But I wouldn't like a user playing with his dirty fingers in my beautyful code.
(function banner (end): closing </tr>-tag ought to go to the end of the else-branch, function: itemthumbnail <td>-Tags not closed)

The idea having a high level api where I can position all the parts as I like them using a meta language is genius (genious?).

Just my 0.02 € (we have cents now too ... )

Ulrike

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Fri, 2004-04-09 02:05
jmullan wrote:
There is a new theme and layout system in the works already. Stay tuned!

Really? Will everything validate (or close)? (I am a validation junkie). :wink:

I haven't yet loaded a version of G2, thought about it... but haven't tried it yet.

Gaile

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Fri, 2004-04-09 02:44

I'm not working on it, but if I were, it would. I'm sure that it will.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2004-04-09 04:59

Ulrike -- I agree that the theme API that we have now is way cool. But unfortunately it's too complex for most theme developers, and it's slow (because practically every line in the templates is a callback and they do a lot of buffering. So we're switching to a model where the templates contain XHTML and the theme is controlled entirely via CSS.

Gaile, we're aiming for validating XHTML, everywhere. :-)

 
U.Haessler

Joined: 2004-03-12
Posts: 22
Posted: Fri, 2004-04-09 06:01
bharat wrote:
... So we're switching to a model where the templates contain XHTML and the theme is controlled entirely via CSS.

Gaile, we're aiming for validating XHTML, everywhere. :-)

XHTML strict? That's just a small step for the current version. My theme now delivers two errors: input tags are not closed and somewhere there is a 'method="GET"' (btw: do you know that the image tag shall disapear in XHTML 2?)

Have you ever played with Movable Type (a weblog)? Mostly used by designers and the 'strict' family. MT provides HTML-Templates and defines tons of private tags, attributes, if, and while. They generate all the html pages (what might take some time if your blog grows) ... no url-rewrite needed and real fast access. This way should be pretty easy using the theme.inc as a base?

Ulrike

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Fri, 2004-04-09 07:42
bharat wrote:
Gaile, we're aiming for validating XHTML, everywhere. :-)

Bharat,

That's great! Less tables too I am betting!

Let me know if I can be of any assistance, either for G2 or even getting G1 closer (although I confess I haven't checked out the latest 1.4.3 yet).

:)

Gaile

 
rossr

Joined: 2002-08-19
Posts: 28
Posted: Wed, 2004-05-26 00:43
Quote:
That's great! Less tables too I am betting!

That was the plan when starting the new theme. However, I am finding that certain chunks of data will need to be placed in tables. :)

Ross