Transfer the banner in the field {TABS} Transfer the banner in the field {TABS}
 

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]

Main Menu

Transfer the banner in the field {TABS}

Started by serg5777, August 28, 2013, 06:21:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

serg5777

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

Αndré

Quote from: Joachim Müller on September 28, 2008, 10:28:07 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.

serg5777


Αndré

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

serg5777

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

Αndré

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
echo $header;
and add it below. Don't forget to add a new table row, like
echo '<tr><td>banner here</td></tr>';

serg5777

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

Αndré

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

serg5777

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

Αndré

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.

serg5777