Help... (Hide albums and archives and show picture sizes) Help... (Hide albums and archives and show picture sizes)
 

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

Main Menu

Help... (Hide albums and archives and show picture sizes)

Started by tonyartpop, May 06, 2014, 03:37:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tonyartpop

Hello everyone! I need your help, I want to know what I have to do to hide the Albums and Files from the category part in the index page.
Example:
http://i.imgur.com/CmbF911.png

And how to show the file size like this:
http://i.imgur.com/3ftO35R.png

Thanks for your help! I really appreciate it...


tonyartpop

Anyone!? Please! I need help! :(  :'( :'( :'( :'( :'( :'( :'( :'( :'(

phill104

I am really not quite sure from your images what you are asking for. Please can you elaborate.

Also, please be aware that we are a small team and may take time to respond.
It is a mistake to think you can solve any major problems just with potatoes.

ΑndrĂ©

Quote from: tonyartpop on May 06, 2014, 03:37:02 AM
I want to know what I have to do to hide the Albums and Files from the category part in the index page.
Example:
http://i.imgur.com/CmbF911.png

Copy this to your theme's theme.php file:
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="100%" align="left" colspan="3">{CATEGORY}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left" colspan="3"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
        <tr>
            <td class="tableb tableb_alternate" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;




Quote from: tonyartpop on May 06, 2014, 03:37:02 AM
how to show the file size like this:
http://i.imgur.com/3ftO35R.png
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270617.html#msg270617
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270613.html#msg270613
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631