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: Transfer the banner in the field {TABS}  (Read 4006 times)

0 Members and 1 Guest are viewing this topic.

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Transfer the banner in the field {TABS}
« on: August 28, 2013, 06:21:46 am »

Andre please help transfer the banner in the field {TABS} in thumbnails.php, already rummaged through all the code I can not find where it is done :)
Take a look as it is now: http://i57.fastpic.ru/big/2013/0828/e6/a3fdaab0a6f0f76271d2358e48fdb1e6.jpg
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Transfer the banner in the field {TABS}
« Reply #1 on: August 28, 2013, 11:10:40 am »

Do not hotlink images (as the link might go down later, leaving your entire thread useless for others with similar issues), but attach the images (e.g. screenshots) to your posting. To accomplish this, click "Additional Options..." when composing your message. Then use the "Attach"-field to browse your local files and attach the image(s) to your posting.
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Transfer the banner in the field {TABS}
« Reply #2 on: August 28, 2013, 11:15:10 am »

Like this :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Transfer the banner in the field {TABS}
« Reply #3 on: August 28, 2013, 11:18:33 am »

I guess you want to move the advertising banner between the blue album name row and the actual thumbnails?
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Transfer the banner in the field {TABS}
« Reply #4 on: August 28, 2013, 11:20:09 am »

That's right, but I can not find a place in the code.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Transfer the banner in the field {TABS}
« Reply #5 on: August 28, 2013, 11:29:28 am »

Copy the function theme_display_thumbnails from themes/sample/theme.php to your theme's theme.php file, it it doesn't exist. Then, find
Code: [Select]
echo $header;and add it below. Don't forget to add a new table row, like
Code: [Select]
echo '<tr><td>banner here</td></tr>';
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Transfer the banner in the field {TABS}
« Reply #6 on: August 28, 2013, 11:39:18 am »

It turned out, but for some reason the banner turned in a column, not in line :(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Transfer the banner in the field {TABS}
« Reply #7 on: August 28, 2013, 11:46:22 am »

Don't forget to add the colspan attribute to your table cell.
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Transfer the banner in the field {TABS}
« Reply #8 on: August 28, 2013, 11:48:43 am »

Many thanks to Andre, everything works! And how you can be reached for personal messages? :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Transfer the banner in the field {TABS}
« Reply #9 on: August 28, 2013, 11:59:44 am »

The PM feature has been disabled due to regular abuse. Regular support is done publicly, if you need to contact me privately (for whatever reason), I can send you my contact details via PM.
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Transfer the banner in the field {TABS}
« Reply #10 on: August 28, 2013, 12:02:28 pm »

Please send.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.