Pagination CPG - Page 2 Pagination CPG - Page 2
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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