Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Help... (Hide albums and archives and show picture sizes)  (Read 4110 times)

0 Members and 1 Guest are viewing this topic.

tonyartpop

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 13
Help... (Hide albums and archives and show picture sizes)
« 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

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

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

tonyartpop

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Help... (Hide albums and archives and show picture sizes)
« Reply #1 on: May 06, 2014, 09:21:35 pm »

???
Logged

tonyartpop

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Help... (Hide albums and archives and show picture sizes)
« Reply #2 on: May 07, 2014, 03:51:56 am »

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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Help... (Hide albums and archives and show picture sizes)
« Reply #3 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Help... (Hide albums and archives and show picture sizes)
« Reply #4 on: May 07, 2014, 09:16:26 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:
Code: [Select]
$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;



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
Logged

tonyartpop

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Help... (Hide albums and archives and show picture sizes)
« Reply #5 on: May 07, 2014, 06:11:26 pm »

Thank you so much! ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.