New CSS based XHTML compliant themes - Page 5 New CSS based XHTML compliant themes - Page 5
 

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

New CSS based XHTML compliant themes

Started by Tarique Sani, June 28, 2004, 10:41:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cryogenic

Tables are still xhtml compliant and they work best for this particular purpose. The only thing keeping it from 1.1 compliance is the presence of align, height, width, and border attributes in the table code itself. Apparently all that stuff is supposed to be moved to the css file in xhtml 1.1? Both themes validate XHTML 1.0 transitional when used with CPG 1.4.

martinha

QuoteGrab the new 2bornot2b CSS from my site

@Tarique: Where can I get this CSS as your site looks like mine insomuch that it uses the eyeball template. I'd like to get mine to be XHTML compliant if at all possible... :)

My gallery is at: http://cgi.martinhart.force9.co.uk/ if you want to take a look  :-[


Tarique Sani

@martina - you will probably need the complete theme Eyeball is very different from 2bornot2b
SANIsoft PHP applications for E Biz

martinha

@Tarique: I use the theme Eyeball at the moment. How have you managed to validate it OK for XHTML when mine does not seem to work? I have made little or no changes from that supplied under 1.3.2 (or do I need v1.4)?

Casper

Tarique is not using the eyeball theme.  He is using 2bornot2b.  It may look similar, but is completely different in the way it works.

It is not the eyeball theme with a different css.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

cryogenic

Also, as stated NUMEROUS times in this thread. 1.3.x will NOT validate XHTML with either of these themes (or any other box-stock theme). 1.4x is the only branch that validates as the code itself has been correctly modified per xhtml standards (self-closing tags and moving most layout info to css seem to be the big changes). So if you wish to have your gallery validate, upgrade to 1.4, but don't expect any support. On a happier note, I've been running it virtually trouble-free for a good while now and I'm no PHP wizard :)

martinha

@cryogenic: sorry - didn't mean to repeat what's already been stated.  :-[

I think I may give v1.4 a try as long as it seems stable...

Lionheart

#87
Where can I download the other themes like forest ?
I think they are simply great.

Or better of, how do I make it look like Tarique's gallery. Or maybe that involves a lot of coding.  ;)

Tranz

#88
Quote from: martinha on September 23, 2004, 01:48:56 PM
I think I may give v1.4 a try as long as it seems stable...
Please backup your current gallery files and database if you decide to upgrade. However, there is NO SUPPORT for the development version. It is stable for general use, but there are things here and there that need to be worked on. Also, the code is continually being edited, so it's not recommended to use this on a production site unless you can keep on top of getting the latest versions of files. The dev version is only for advanced users, or patient ones who don't mind if something doesn't work as expected.

So don't :\'( if dev cpg doesn't behave as expected.

Casper

@ Lionheart

all the themes are available from the downloads section, link above.

But where did you see one called forest?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Lionheart

Thanks, mate.
Tarique have a css modification of the reynold theme called forest.
http://www.tariquesani.net/index.php?theme=forest

I would also like to know how to make modifications in the right menu of this skin and how to write a welcome message at the top, like this site: http://www.linsson.com/2.lars/

Regards
Dennis

Casper

I don't know if Tarique is making that theme available, although it does look very good.

To modify the menu, that is done in theme.php for the content, or style.css for the positioning.

The welcome in the website is simply using the anycontent.php.  This is exactly what it is for.  Just edit it to have the content you want, upload, and add it to the 'contents of main page' in config.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Lionheart

Thank you very much Casper.
I hope Tarique will release the Forest css soon.

Tarique Sani

#93
@Lionheart - Forest css is in a mess - I can attach / make a zip and post a link if you are willing to help clean it up :)

[update]
http://tariquesani.net/themes/forest.tar.gz
[/update]
SANIsoft PHP applications for E Biz

Rodinou

Tarique,

I have used your 2born2 theme and modify it to begin my tableless version ...

One question : why some things which are "customizable" are in same time in theme.php and displayimage.php ? Would it be better if ALL parameters about layout were in theme.php ? (Look at http://www.sortons.net/photos/displayimage.php?album=915&pos=5 : on right, I have title and caption, and with help of Nibbler, I have known I had to modify displayimage.php)

Tarique Sani

@Rodinou - now you understand why we devs say that the current templating system is in a mess :D
SANIsoft PHP applications for E Biz

Lionheart

Thanks Tarique, how can I download the 2born2 theme. The forest theme refers to that theme in the buttons and other linked stuff.
How hard is it to clean it up? I'm not a programmer per se  ;D

Tarique Sani

Ugh! this is what I meant by cleaning up :D there is a link to 2bornot2b in the first post of this thread
SANIsoft PHP applications for E Biz

cryogenic

#98
I helped him clean up 2beornot2b and reynolds a fair bit. I'm not a programmer, either. I'm going to download forest and play with it a bit even though I have no intentions of using it on my site (I prefer the black of 2bornot2b).

@Tarique, do you use JOE on Unix/Linux? A few things have led me to believe that you do (I saw a JOE file in one and the presence of a template.html~ file).

Also, I can easily (and will) spend a couple/few hours cleaning up the css for forest, however there are a few areas that I don't want to "botch" so to speak and change things in such a way that things don't display as you have intended. Any suggestions for situations such as this?

Tarique Sani

@cyrogenic - yes joe is my editor of choice if available else vi will do :)
SANIsoft PHP applications for E Biz