Advanced search  

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]

Pages: 1 [2]   Go Down

Author Topic: Pagination CPG  (Read 7433 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Pagination CPG
« Reply #20 on: March 01, 2013, 09:33:09 am »

I don't know what you try to accomplish and how anycontent.php is related to whatever you want to add before/after the plugin hook. Please post more details.
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Pagination CPG
« Reply #21 on: March 01, 2013, 09:37:11 am »

I wish that was the same table, and style of text in the description of each album in anycontent.php
Please come to my gallery and look :)
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Pagination CPG
« Reply #22 on: March 01, 2013, 09:54:48 am »

Andre, It does not matter of course, but I would like to make it all aesthetically pleasing :)
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Pagination CPG
« Reply #23 on: March 01, 2013, 10:33:05 am »

Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Pagination CPG
« Reply #24 on: March 01, 2013, 10:34:53 am »

In style.css
Code: [Select]
.tableb {
    background: #F2F5F7 ;
    padding-top: 3px;
    padding-right: 5px;
    padding-bottom: 3px;
    padding-left: 5px;
}
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: Pagination CPG
« Reply #25 on: March 01, 2013, 11:35:27 am »

Undo your current mod. Then, find
Code: [Select]
    endtable();
    CPGPluginAPI::action('theme_thumbnails_wrapper_end', null);
and above, add
Code: [Select]
    if ($page == 1) {
        echo '<tr><td class="tableb" colspan="'.$thumbcols.'">'.bb_decode($CURRENT_ALBUM_DATA['description']).'</td></tr>';
    }
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Pagination CPG
« Reply #26 on: March 01, 2013, 11:50:35 am »

Thank you very much Andre!  :)
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.033 seconds with 21 queries.