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: Add/Change the table width of the film strip  (Read 3353 times)

0 Members and 1 Guest are viewing this topic.

Daddy Cool

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 13
    • ARCUR
Add/Change the table width of the film strip
« on: August 17, 2005, 06:55:31 pm »

How can I fix the width of the film strip table??

In theme.php, there's
Code: [Select]
    if ($CONFIG['display_film_strip'] == 1) {
        echo $film_strip;
    }
tried adding   starttable('100%')  and end table around, but just put a table around a table...

Here's the problem, that's what came out of the code when "viewing" my page source and that's the coding of the film_strip table :
Code: [Select]
<!-- Start standard table -->
<table align="center" width="" cellspacing="1" cellpadding="0" class="maintable">

 
In the first line, the table isn't fixed (I need to do it), people at my site are requesting 20 picture in the filmstrip instead of 5. But when I do that, it resume in a 1 line of 20 picture getting out the screen (on Internet Explorer, but 4 lines of 5 pictures with Firefox ???).

The simple way, I think, is to put a value in the width.
How? where? where is the $film_strip value coded??

Thanks for any help!  ;D
« Last Edit: August 17, 2005, 07:48:28 pm by Nibbler »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Add/Change the table width of the film strip
« Reply #1 on: August 17, 2005, 07:02:02 pm »

function theme_display_film_strip in theme.php... modify starttable

Daddy Cool

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 13
    • ARCUR
Re: Add/Change the table width of the film strip
« Reply #2 on: August 17, 2005, 07:15:31 pm »

huuu... didn't look high anof...   Thanks a lot for the quick reply! found it, placed it, but didn't resolved the problem, the table is still going out of the window instead of returning the photo in a new line..  ???

If you have an idea on how to code this for Internet Explorer..

Thanks a lot!
Logged

Daddy Cool

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 13
    • ARCUR
Re: Add/Change the table width of the film strip
« Reply #3 on: August 17, 2005, 07:41:34 pm »

OK, I found everything needed into theme.php .

Thanks for the enlightment!!

I just had to reorganise the table for the filmstrip, now my filmstrip can take as much pictures he wants.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.