Home page questions Home page questions
 

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

Home page questions

Started by paulgul, October 14, 2010, 03:43:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paulgul

Here is a link to my temporary gallery http://www.paulgulliver.co.uk/Coppermine/index.php
Looking at the categories I have the thumbnails and descriptions on the left and 2 columns on the right labeled Albums and files, is it possible to remove these 2 columns - and how?
At the bottom of the page is individual thumbs for last additions, is it possible to create an album (with a single thumbnail) to hold these files and have the album automatically updated with just the last additions and perhaps deleted from that album after a set period of time. It would make more sense for a regular visitor to be able to click on the "latest" album and would make the first page seem less cluttered for new users. Is there any other way of marking new uploads - say with a star - just for a fixed period from upload (example 1 month)
Thanks, Paul

ΑndrĂ©

Quote from: paulgul on October 14, 2010, 03:43:52 PM
2 columns on the right labeled Albums and files, is it possible to remove these 2 columns - and how?
Copy that function to the theme.php file of your theme:
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left">{CATEGORY}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb"><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"><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">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td 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;



Please start new threads (in the correct support board) for your other questions, as we only answer one question per thread.


Moving to themes board.

paulgul

Andre, thanks for the reply, regarding posting in the correct board, unless you know where the problem is, it's difficult to know what board to post in, I thought the answer might have been in the config settings.
Paul

paulgul

Just to confirm, the first part of my question has been solved, Thanks

shiftsrl

Worked also for me. Thanks!!!
Shift Srl
*Link Removed*