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: [HACK] Sort pictures by layout  (Read 6050 times)

0 Members and 1 Guest are viewing this topic.

CobRaz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[HACK] Sort pictures by layout
« 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
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[HACK] Sort pictures by layout
« Reply #1 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.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

CobRaz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[HACK] Sort pictures by layout
« Reply #2 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.
Logged

ttn

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Height
« Reply #3 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.
Logged
ThichTN

CobRaz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[HACK] Sort pictures by layout
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.