Advanced search  

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

Pages: [1]   Go Down

Author Topic: Empty standard table at beginning of gallery?  (Read 4842 times)

0 Members and 1 Guest are viewing this topic.

Seth

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Empty standard table at beginning of gallery?
« 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">
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Empty standard table at beginning of gallery?
« Reply #1 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 :)
Logged
SANIsoft PHP applications for E Biz

Seth

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Empty standard table at beginning of gallery?
« Reply #2 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 :-\\
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Empty standard table at beginning of gallery?
« Reply #3 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
Logged
SANIsoft PHP applications for E Biz

Seth

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Empty standard table at beginning of gallery?
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.