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: Home page questions  (Read 4882 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.021 seconds with 19 queries.