News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Remove header row "last upload" last"comment" etc.

Started by dwo, May 16, 2008, 10:24:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwo

Hello.

I searched, but did not find an answer.

I turned all off in admin config, breadcrump is deleted, but still one thing remains.

The small header table above the thumbs, which is in the demo version blue.
In this header for example "newest uploads" or "last comments" is displayed as text.

How can I remove the whole table/row above the thumbnails?

Thank you very much, regards, Dietmar

Nibbler


dwo

#2
Thanks. I edited the theme.php and it works perfect.

Anyway, did I do it right this way?

code of my theme.php:

.....
.....
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
//define('THEME_IS_XHTML10_TRANSITIONAL',1);


// Function to start a 'standard' table
if (!function_exists('starttable')) {  //{THEMES}
function starttable($width = '-1', $title = '', $title_colspan = '1')
{
    global $CONFIG;

    if ($width == '-1') $width = $CONFIG['picture_table_width'];
    if ($width == '100%') $width = $CONFIG['main_table_width'];
    echo <<<EOT

<!-- Start standard table -->
<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">

EOT;
    }
}


?>