Advanced search  

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

Pages: [1]   Go Down

Author Topic: what do i need to edit  (Read 3178 times)

0 Members and 1 Guest are viewing this topic.

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
what do i need to edit
« on: February 17, 2004, 04:05:49 am »

what do i need to edit to move the picture information to show up next to the image, instead of below it? i just need to know what file/line(s) i need to edit. thanks!
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
what do i need to edit
« Reply #1 on: February 24, 2004, 06:26:29 am »

*bump*
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
what do i need to edit
« Reply #2 on: February 24, 2004, 11:52:44 pm »

*bump*
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
what do i need to edit
« Reply #3 on: February 25, 2004, 12:28:15 am »

I think you need to edit this section in theme.php (default theme shown)

Code: [Select]
EOT;
// HTML template for intermediate image display
$template_display_picture = <<<EOT
        <tr>
                <td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;">
                                <tr>
                                        <td>
                                                {IMAGE}
                                                {ADMIN_MENU}
                                        </td>
                                </tr>
                        </table>
<!-- BEGIN img_desc -->
                        <table cellpadding="0" cellspacing="0" class="img_caption_table">
<!-- BEGIN title -->
                                <tr>
                                        <th>
                                                {TITLE}
                                        </th>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->
                                <tr>
                                        <td>
                                                {CAPTION}
                                        </td>
                                </tr>
<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
        </tr>


You need to change the html so they are not in different tables, but in different cells within the same row of a table.

I think this will make the page rather wide though.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
what do i need to edit
« Reply #4 on: February 26, 2004, 04:51:18 am »

thanks-but i already did this lol

i really want the section:

'Image Information' (or Picture Information) to be shown on the side of the image-and have not found any html of this...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
what do i need to edit
« Reply #5 on: February 26, 2004, 07:14:31 am »

then post what changes you did to the code, using the bit of code casper told you to modify, and a link to a page that has your modifications in it... You can't expect people here to do all the work for you...

GauGau
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
what do i need to edit
« Reply #6 on: February 27, 2004, 12:12:23 am »

you don't get it-

i have everything nice where i want it-except i don't know where the html is for the 'Picture DETAILS' (or information) i guess i won't do anything.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
what do i need to edit
« Reply #7 on: February 27, 2004, 12:31:47 am »

If what I put isn't what you need, then the other place to try is displayimage.php.

perhaps what you need is to place this code elsewhere, althought I don't know how;
Code: [Select]
function theme_html_picinfo(&$info)
{
    global $lang_picinfo;

    $html = '';

    $html .= "        <tr><td colspan=\"2\" class=\"tableh2_compact\"><b>{$lang_picinfo['title']}</b></td></tr>\n";
    $template = "        <tr><td class=\"tableb_compact\" valign=\"top\" nowrap>%s:</td><td class=\"tableb_compact\">%s</td></tr>\n";
    foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);

    return $html;
}
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.