Pagination CPG - Page 2 Pagination CPG - Page 2
 

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

Pagination CPG

Started by serg5777, February 12, 2013, 06:04:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

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.

serg5777

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 :)

serg5777

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

serg5777


serg5777

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

Αndré

Undo your current mod. Then, find
    endtable();
    CPGPluginAPI::action('theme_thumbnails_wrapper_end', null);

and above, add
    if ($page == 1) {
        echo '<tr><td class="tableb" colspan="'.$thumbcols.'">'.bb_decode($CURRENT_ALBUM_DATA['description']).'</td></tr>';
    }

serg5777

Thank you very much Andre!  :)