Instructions
Posted: 20 January 2009 01:25 AM   Ignore ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1653
Joined  2007-11-23

Here are the “unofficial” docs for the Pagination Style Extension.

To install follow these steps:

the core.paginate.php needs to be hacked to add the hook, so if you upgrade or reinstall this would need to be redone every time. Maybe the powers to be could add this hook in the next build:

Add the following code at line 77, adding $EXT to the existing global variables.

global $IN$FNS$LANG$EXT;
        
        
// -------------------------------------------
        // 'paginate_plus_object' hook.
        //  - Rewrite the show_links function in the core file and change variables
        //    ADDED BY HCCDevelopment 08/19/08 Brian Greenacre
        //
            
if ($EXT->active_hook('paginate_edit_object') === TRUE)
            
{
                $edata 
$EXT->universal_call_extension('paginate_edit_object'$this);
                if (
$EXT->end_script === TRUE) return;
            
}
        
//
        // ------------------------------------------- 


To use this extension add the link_class parameter to the weblog tag like so:

{exp:weblog:entries pagination=“top” link_class=“my_pagination_class”}

Then in your CSS you can define the class:

.my_pagination_class a { color: #000; border: solid 1px #333; etc…....}

Signature 

Mike

HCC Development

Profile
 
   
 
 

Join our Mailing List