Empty standard table at beginning of gallery? Empty standard table at beginning of gallery?
 

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

Empty standard table at beginning of gallery?

Started by Seth, June 15, 2004, 10:45:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Seth

In my ongoing quest for XHTML 1.1 compliance (almost there!), CopperMine generates an empty table at the beginning of the gallery output. I can't track down where it is or why it occurs. This table appears in both the default theme and my custom theme, assuring me that it's not my theme changes causing the problem. Can someone assist me in finding where this duplicate table creation call is occurring so I can destroy it?

http://photos.sethkinast.com, around line 25 of the source code shows this empty table. Here are a few lines in context:
21: <div id="photos">
22: <br />
23: <!-- THIS IS WHERE {GALLERY} TAG APPEARS IN MY TEMPLATE.HTML -->
24: <!-- Start standard table -->
25: <table style="text-align: center; margin: auto;" width="470px" cellspacing="1" cellpadding="0" class="maintable">
26: </table>
27: <!-- End standard table -->
28:
29: <!-- Start standard table -->
30: <table style="text-align: center; margin: auto;" width="470px" cellspacing="1" cellpadding="0" class="maintable">

Tarique Sani

The empty table is caused by the category display function in theme.php and occurs when there is no photo to display in the category can't remember where but like I said I have it  fixed :)
SANIsoft PHP applications for E Biz

Seth

Oh, okay, you have this one fixed too? Maybe I'll just hold off on slaving away until 1.3.1... although I've made a lot of changes already :-\\

Tarique Sani

Well 1.3.1 will be a bug fix release and will not have these changes - like I said I can send you my theme. It is different from yours and I still have some errors left on displayimage.php but index and thumbnail validate perfectly
SANIsoft PHP applications for E Biz

Seth

Heh, I guess I've just gotta get it drummed into me :p since I don't figure it out the first time. I would very much appreciate having your theme for reference; you can use the e-mail address in my profile.

Seth