coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: tonyartpop on May 06, 2014, 03:37:02 AM

Title: Help... (Hide albums and archives and show picture sizes)
Post by: tonyartpop on May 06, 2014, 03:37:02 AM
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 (http://i.imgur.com/CmbF911.png)

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

Thanks for your help! I really appreciate it...
Title: Re: Help... (Hide albums and archives and show picture sizes)
Post by: tonyartpop on May 06, 2014, 09:21:35 PM
???
Title: Re: Help... (Hide albums and archives and show picture sizes)
Post by: tonyartpop on May 07, 2014, 03:51:56 AM
Anyone!? Please! I need help! :(  :'( :'( :'( :'( :'( :'( :'( :'( :'(
Title: Re: Help... (Hide albums and archives and show picture sizes)
Post by: phill104 on May 07, 2014, 09:13:19 AM
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.
Title: Re: Help... (Hide albums and archives and show picture sizes)
Post by: ΑndrĂ© on May 07, 2014, 09:16:26 AM
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 (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://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
Title: Re: Help... (Hide albums and archives and show picture sizes)
Post by: tonyartpop on May 07, 2014, 06:11:26 PM
Thank you so much! ;D