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 |
|
Posts: 974
There is a new theme and layout system in the works already. Stay tuned!
Posts: 22
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
Posts: 1301
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
Posts: 974
I'm not working on it, but if I were, it would. I'm sure that it will.
Posts: 7994
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.
Posts: 22
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
Posts: 1301
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
Posts: 28
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