Recent Topics

1 May 19, 2008 11:08    

Here is the pagination section code
--------------------
mainlist_page_links( array(
'block_start' => '<p class="center">'.T_('Pages:').' <strong>',
'block_end' => '</strong></p>',
) );
--------------------

its works well , but if you setting an variable name "title" before the pagination section code , the "title" variable value will be display on the pagination URL .
for example:
---------------------
$title = 'kendotom' ; //here

mainlist_page_links( array(
'block_start' => '<p class="center">'.T_('Pages:').' <strong>',
'block_end' => '</strong></p>',
) );
-----------------------

the pagination URL will be display like this :
index.php?title=kendotom&blog=1&paged=5

and this URL is not working .

2 May 19, 2008 11:32

Hi kendotom_cn,

Why would you want to set $title? The variable is in use as you can see.
This is not related to the pagination function.

Can you be a little clearer on what you were trying to do?

Good luck

3 May 20, 2008 03:37

HI, Afwas,

I set the variable $title is not for pagination , but for other place .

But, this variable will be cause the pagination not work .

thanks


Form is loading...