I've found how to create columns in the anycontent section of my web site (www.david-keenan.com) but I cannot see how to add titles to each of the columns. Using starttable() is can get a title into the first (left-most column) but how do I add titles to the other column(s)?
Add your title manually with html
>Add your title manually with html
Can you (or someone) point me to some sample code?
Dave.
something like this:
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2006 Coppermine Dev Team
v1.1 originally written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.8
$Source$
$Revision: 3116 $
$Author: gaugau $
$Date: 2006-06-08 00:11:54 +0200 (Do, 08 Jun 2006) $
**********************************************/
/**
* Coppermine Photo Gallery 1.4.6 anycontent.php
*
* This file file gets included in the index.php if you set the option in admin
* can be used to display any content from any program, it is always to be edited
* according to tastes and then used
*
* @copyright 2002,2005 Gregory DEMAR, Coppermine Dev Team
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License V2
* @package Coppermine
* @version $Id: anycontent.php 3116 2006-06-07 22:11:54Z gaugau $
*/
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
starttable("100%");
?>
<tr>
<td class="tableh1" colspan="1">first title</td>
<td class="tableh1" colspan="1">2nd title</td>
</tr>
<tr>
<td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td>
<td class="tableb" >
And this is 2nd content block
</td>
</tr>
<?php
endtable();
?>
Thanks.
This issue may be closed as "Solved".