forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: Seth on June 15, 2004, 10:45:05 pm

Title: Empty standard table at beginning of gallery?
Post by: Seth on June 15, 2004, 10:45:05 pm
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:
Code: [Select]
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">
Title: Re: Empty standard table at beginning of gallery?
Post by: Tarique Sani on June 16, 2004, 04:36:16 am
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 :)
Title: Re: Empty standard table at beginning of gallery?
Post by: Seth on June 16, 2004, 05:29:53 am
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 :-\\
Title: Re: Empty standard table at beginning of gallery?
Post by: Tarique Sani on June 16, 2004, 05:48:40 am
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
Title: Re: Empty standard table at beginning of gallery?
Post by: Seth on June 17, 2004, 04:37:05 am
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