generell question about templateing generell question about templateing
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

generell question about templateing

Started by biophonc, March 24, 2006, 01:43:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

biophonc

Hi,...

I work on a site for a friend and thought that coppermine would be an good idea for his gallery. I saw there is a theme support, but to me it is to limited, or I haven't fount the right hack/brigding whatsoever. I'd love to use my own icons for ALL parts of the frontend and also use lists, instead of tables. Tables are not meant to "design" anything. A table displays data from ie a db, or maybe works as "grid" for formulars - but the whole site is build up by tables and "locked" into the themes.inc.php file. I'm not in the mood to mod the whole file, because it's bullshit and I also thought about to extend it - but Thats also a shitty idea, because the system will then only works with "my" temlate. Ok I can add some additional parameter for the functioncalls,...  but however: maybe I am stupid - but is there any possibility to get "easy" out of the table design?

any suggestions?
yeah and thanks for helping ;)

greets biophonc

Joachim Müller

no - tables do not only exist in the themes, but all over the code. There have been efforts to create a tableless version - all who reported to have accomplished this actually failed or didn't post their modifications. We're aware that the use of tables for presentation is deprecated, but there's currently no workaround. Do not edit themes.inc.php, but your custom themes's theme.php.

Taimon

Is there any progress concerning tableless themes?

And if not, are there any plans to change the way how themes/templates are implemented?

Joachim Müller


Taimon

I spend some time reading about (and coding) semantic markup and would really like to see coppermine shift into that direction.
I'd like to help you make the necessary changes.

Could you share your ideas/plans concerning the theme/template system with me?
I guess backwards compatiblity remains an issue.