forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: CobRaz on November 12, 2003, 05:15:27 pm

Title: [HACK] Sort pictures by layout
Post by: CobRaz on November 12, 2003, 05:15:27 pm
Ok, I just installed 1.2.0 and it's working great. But when I go to albums, the "sort pictures by" cell looks pretty messed up. Can I fix this somehow, or what should I do? Here's my gallery:
http://www.mobiiliplaza.com/modules.php?name=coppermine&file=thumbnails&album=1
Title: [HACK] Sort pictures by layout
Post by: DJMaze on November 12, 2003, 06:13:41 pm
it's looking great, although your english.php isn't correct.

Only default theme and english are supported.
Title: [HACK] Sort pictures by layout
Post by: CobRaz on November 12, 2003, 06:50:27 pm
So that cell is meant to be that high? Hmm... well, how can I then remove sort by file name and rating? Because I think, that those aren't so important and the cell will be lower after removing those.
Title: Height
Post by: ttn on November 13, 2003, 06:22:29 am
Right, height of the caption is fatter, does not look as nice as in previous 1.1. I prefer thin & skinny caption :-)

You can edit file themes/default/thumb_view_title_row.html and remove some sort options that you don't need but it won't help much.
I found that file style.css also in themes/default/ directory missing a style called h2 that caption referred to, so I added back style h2 from version 1.1D as a workaround, ie. add these lines at the beginning of your style sheet style.css :
Code: [Select]

h2 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        margin: 0px;
}

Hope it helps.
Title: [HACK] Sort pictures by layout
Post by: CobRaz on November 13, 2003, 09:54:06 am
Ok, it looks now much better. I added h2 to style sheets and edited thumb_view_title_row.html. Thanks ttn.