coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: kirky on July 31, 2006, 02:27:56 AM

Title: space between tables
Post by: kirky on July 31, 2006, 02:27:56 AM
OK I have one more theme issue (hopefully the last) which worked when I edited old version but maybe my old memory aint what it used to be.

I want there to be space between each table, as you can see they are all touching each other. Not sure which part to edit on the template?

Here is example of what gallery looks like now:
http://www.kirkyskreations.com/gallery/displayimage.php?album=5&pos=4

Kirsten
Title: Re: space between tables
Post by: Joachim Müller on July 31, 2006, 07:41:37 AM
modify the function endtable() in themes/yourtheme/theme.php. If such a function doesn't exist in your theme, copy // Function to end a 'standard' table
function endtable()
{
    echo <<<EOT
</table>
<!-- End standard table -->

EOT;
}
into a new line before?>and modify as you see fit (e.g. by adding a spacer image after the </table>-tag or by adding a <br />-tag there).
Title: Re: space between tables
Post by: kirky on August 01, 2006, 12:20:48 PM
thanks, worked well.

Kirsten