coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: serg5777 on August 28, 2013, 06:21:46 AM

Title: Transfer the banner in the field {TABS}
Post by: serg5777 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
Title: Re: Transfer the banner in the field {TABS}
Post by: Αndré on August 28, 2013, 11:10:40 AM
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.
Title: Re: Transfer the banner in the field {TABS}
Post by: serg5777 on August 28, 2013, 11:15:10 AM
Like this :)
Title: Re: Transfer the banner in the field {TABS}
Post by: Αndré 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?
Title: Re: Transfer the banner in the field {TABS}
Post by: serg5777 on August 28, 2013, 11:20:09 AM
That's right, but I can not find a place in the code.
Title: Re: Transfer the banner in the field {TABS}
Post by: Αndré 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
echo $header;
and add it below. Don't forget to add a new table row, like
echo '<tr><td>banner here</td></tr>';
Title: Re: Transfer the banner in the field {TABS}
Post by: serg5777 on August 28, 2013, 11:39:18 AM
It turned out, but for some reason the banner turned in a column, not in line :(
Title: Re: Transfer the banner in the field {TABS}
Post by: Αndré on August 28, 2013, 11:46:22 AM
Don't forget to add the colspan attribute to your table cell.
Title: Re: Transfer the banner in the field {TABS}
Post by: serg5777 on August 28, 2013, 11:48:43 AM
Many thanks to Andre, everything works! And how you can be reached for personal messages? :)
Title: Re: Transfer the banner in the field {TABS}
Post by: Αndré 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.
Title: Re: Transfer the banner in the field {TABS}
Post by: serg5777 on August 28, 2013, 12:02:28 PM
Please send.