Add/Change the table width of the film strip Add/Change the table width of the film strip
 

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

Add/Change the table width of the film strip

Started by Daddy Cool, August 17, 2005, 06:55:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daddy Cool

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

In theme.php, there's
    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 :
<!-- 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

Stramm

function theme_display_film_strip in theme.php... modify starttable

Daddy Cool

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!

Daddy Cool

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.