SOme help would be kewl... SOme help would be kewl...
 

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

SOme help would be kewl...

Started by candyass, April 25, 2007, 03:26:05 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

candyass

Hi I'm trying to change how my main page looks, currently it has images by each of my albums but I would rather just have the text like this shows

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fcoppermine-gallery.net%2Fimages%2Fsc3.gif&hash=74b2aa054c99bebb23d74e81a2752f6bc1555821)

Any ideas how I do that? xxx

Joachim Müller

The screenshot you refer to applies to a gallery with "Show first level album thumbnails in categories" turned off in Coppermine's config, so you just have a list of categories. To then remove the thumbnail that represents the categories, edit themes/yourtheme/theme.php, find                <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>and replace with                <td class="catrow" align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td>

If the code I refered to doesn't exist in your custom theme, copy// 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">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
from themes/sample/theme.php into a new line before?>of themes/yourtheme/theme.php, then modify as suggested.

For details, post a link to your gallery.

In the future, please use a better subject for your postings.

Joachim

candyass

QuoteIn the future, please use a better subject for your postings.

Whats wrong with the subject, I needed some help  ???, so there fore I asked for it.

Not sure what your refering to with all those diagrams, I've figured it out myself anyway, when I go into catagory I just had to select that I didn't want a picture to show.

Joachim Müller

Quote from: candyass on April 25, 2007, 03:53:45 PM
Whats wrong with the subject, I needed some help  ???, so there fore I asked for it.
Don't play stupid: on a support board, everybody needs some help with something - that's what people are here for. All subjects would be the same if everybody wrote the obvious (that they are looking for help), so the subject wouldn't mean anything and the forum would become un-usable. When registering, you have agreed to respect board rules. Let me quote them for you:
Quote from: GauGau on April 14, 2006, 10:29:47 AM
6. Use a meaningfull subject line
When posting on a support board, it's very likely that you need help, as much as everyone else who looks for help there, so don't use subject like "Help me please" or "Newbie needs help". Other "bad" subject lines are "Important", "I have a little question" etc.
Instead, use a short phrase that describes your problem - this will make things easier for supporters as well as other users who might encounter a similar problem and browse the board for relevant postings.

Quote from: candyass on April 25, 2007, 03:53:45 PMNot sure what your refering to with all those diagrams,
No diagram shown at all.

Quote from: candyass on April 25, 2007, 03:53:45 PMI've figured it out myself anyway, when I go into catagory I just had to select that I didn't want a picture to show.
OK, glad you were able to solve this. You could have kept me from wasting my time answering your question if you would have read the documentation before posting your question.

Anyway: marking this thread as "solved".