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: Text next to the album thumbnail  (Read 2242 times)

0 Members and 1 Guest are viewing this topic.

lawrence

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Text next to the album thumbnail
« on: July 01, 2004, 06:34:20 am »

The text next to the album thumbnail like, "6 pictures, last one added on Jun 02, 2004" in user mode and "delete, properties, edit pics" in the admin mode - is there ways to put it under the thumbnail instead to on the left hand side?

Thanks for any help
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Text next to the album thumbnail
« Reply #1 on: July 01, 2004, 03:54:14 pm »

Yes, it requires html changes to the themes/your_theme/theme.php.

Find both of these;
Code: [Select]
// HTML template for the album list
and edit the table/cell structure according to what you want.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

lawrence

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Text next to the album thumbnail
« Reply #2 on: July 18, 2004, 06:25:07 am »

Thanks Casper!

I did that with your advice by copying the relevant code to dreamweaver and reorganized the table by converting it from 2 columns to 2 rows. Done with no problem.

However I need to have the same change for the category view (i.e. thoses appear on the front page). I know it is the "// HTML template for the category list" that I have to edit. I copied these codes to the dreamweaver
Quote
<!-- BEGIN catrow -->
        <tr>
                <td class="tableb"><table border=0 ><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="tableb" align="center">{ALB_COUNT}</td>
                <td class="tableb" align="center">{PIC_COUNT}</td>
        </tr>
     <!--if (isset(CAT_ALBUMS)){-->
          <tr>
            <td class="tableb" colspan=3>{CAT_ALBUMS}</td>
      </tr><!--};-->
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END footer -->

yet I find there is no table there for me to reorganize.

Need your further help on this please.

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.