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: Remove a single album from index page  (Read 2413 times)

0 Members and 1 Guest are viewing this topic.

carefree

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Remove a single album from index page
« on: July 29, 2007, 12:39:26 pm »

Im using a dynamic content rotator in the anycontent.php file, I want to add 100+ movies to the album so the content manager can serve from it, but i need it to be a movie of the day thing, so making the album invisble is my last step.

Is there a way to remove a single album on the index page so a guest can still access the url and the file, but not see the album in the index page? Ive tried making it "registered users only" but when I go to the url i cant acccess it as a guest.

Heres the site link http://www.freexxxhunters.com/all  //Warning not work safe//
the album im trying to remove is the bottom of the page

Thanks
« Last Edit: July 29, 2007, 04:24:00 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Remove a single album from index page
« Reply #1 on: July 29, 2007, 02:32:25 pm »

You can hide the album list on the main page by editing index.php

Code: [Select]
                    case 'alblist':
                        list_albums();
                        flush();
                        break;

change to

Code: [Select]
                    case 'alblist':
                        if (!empty($cat)) list_albums();
                        flush();
                        break;
Logged

carefree

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Remove a single album from index page
« Reply #2 on: July 29, 2007, 04:21:33 pm »

Thanks alot for that ! It worked a charm.  ;D

I spent nearly a whole day trying to solve it myself.

Ive gotta reverse the code to edit the files when i add more but i should only have to update it a few times a year.

Thanks Nibbler
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 21 queries.