How to remove "category" from front page? How to remove "category" from front page?
 

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

How to remove "category" from front page?

Started by ladyluck, April 12, 2006, 01:41:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ladyluck

Hi, I´m using Coppermine 1.4.2, with Igames theme.  The galleries are to be displayed nested into a website with a huge banner on top, so I need to save space in the header.

I´d like the category item not to be shown on the front page. I tried deleting catlist, but then it doesn´t show the album list either. The url to the gallery is http://www.entuguia.com.ar/galeria and to see it in its context, you should go to www.entuguia.com.ar and then click on "La Revista" (second link on the left menu bar).

Thanks in advance.

Lady

codeslayer

login as admin,
go to config. Under "Album list view" remove "catlist" from "The content of the main page"

thats it.


Joachim Müller

That's wrong, don't do that. You mustn't remove catlist, under no circumstances (unless you really, really know what you're doing) - as suggested in the docs:
QuoteUnless you really know what you are doing you should always keep catlist and alblist in "the content of the main page", as they make up the core parts of the index page or any gallery site, for that matter.

As far as I can see Ladyluck didn't ask how to get rid of the category list alltogether. I guess she wants to get rid of the table row that reads "Category |   Albums | Files". You will have to get rid of the table caption then. If this is what you're up to, then edit themes/igames/theme.php and add into a new line right before?>this piece of code// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <!--<tr>
                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
        </tr>-->
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></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"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <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 -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;


If you actually want the whole category enchilada gone, then move all your albums to the root category (using the album manager) and you should be fine.