Advanced search  

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

Pages: [1]   Go Down

Author Topic: Home page questions  (Read 5345 times)

0 Members and 1 Guest are viewing this topic.

paulgul

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Home page questions
« on: October 14, 2010, 03:43:52 pm »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Home page questions
« Reply #1 on: October 14, 2010, 04:05:01 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:
Code: [Select]
$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.
Logged

paulgul

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Home page questions
« Reply #2 on: October 14, 2010, 04:19:55 pm »

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
Logged

paulgul

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Home page questions
« Reply #3 on: October 14, 2010, 04:56:28 pm »

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

shiftsrl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 74
    • Apple Reseller
Re: Home page questions
« Reply #4 on: November 29, 2010, 04:44:56 pm »

Worked also for me. Thanks!!!
Logged
Shift Srl
 *Link Removed*
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.