Text next to the album thumbnail Text next to the album thumbnail
 

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]

Main Menu

Text next to the album thumbnail

Started by lawrence, July 01, 2004, 06:34:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lawrence

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

Casper

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

Find both of these;
// HTML template for the album list

and edit the table/cell structure according to what you want.
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

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