forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: tkx on November 27, 2003, 01:08:58 am

Title: RC3 Display Bug.
Post by: tkx on November 27, 2003, 01:08:58 am
In the
http://yoursite.com/modules.php?name=coppermine&file=displayimage&album=161&pos=1

The navigation bar doesn't go all the way over when you are lookin at a specific picture... I viewed the source, and it says span=3, when it should say span=7.

Which file do I modify to get this little display bug tweaked?
Title: RC3 Display Bug.
Post by: DJMaze on November 27, 2003, 01:35:26 am
Which file + line did you edit ?
Title: RC3 Display Bug.
Post by: eolica on November 27, 2003, 01:45:13 am
May be  it's breadcrumb.html, but changing to colspan=7 seems to not solve  :!:
Title: RC3 Display Bug.
Post by: tkx on November 27, 2003, 01:47:24 am
Quote from: "DJMaze"
Which file + line did you edit ?

I editted: themes/default/theme.php on line 301 to say :

...<td colspan=\"7\" class=\"tableh1\">...

instead of:

...<td colspan=\"3\" class=\"tableh1\">...


That seems to have fixed it, but I am not sure if that function (theme_display_breadcrumb($breadcrumb, &$cat_data) is used anywhere else.... I hope it didn't break it anywhere else :P...
Title: RC3 Display Bug.
Post by: tkx on November 27, 2003, 01:54:19 am
Ya, well it did make every other page have a COLSPAN="7" on it too... hrmm...  it's a little more tough when things are dynamic huh :)... usually when I code and there could be inconsitancies with rows, I usually end the table there and restart it for the next ROW...  Not that difficult, just copy the exact <TABLE ......> line and start a new <TR> after you close off the other one...  I don't know... maybe something you folks might consider, unless there is a better fix than what I did.

Quote from: "tkx"
Quote from: "DJMaze"
Which file + line did you edit ?

I editted: themes/default/theme.php on line 301 to say :

...<td colspan=\"7\" class=\"tableh1\">...

instead of:

...<td colspan=\"3\" class=\"tableh1\">...


That seems to have fixed it, but I am not sure if that function (theme_display_breadcrumb($breadcrumb, &$cat_data) is used anywhere else.... I hope it didn't break it anywhere else :P...
Title: RC3 Display Bug.
Post by: DJMaze on November 27, 2003, 01:54:47 am
actualy it's used in 3 files:
index.php
displayimage.php
thumbnails.php

http://forum.coppermine-gallery.net/index.php?topic=1928