Recent Topics

1 Feb 27, 2007 08:24    

can i set a number of linklblog entries in a page?

i only know the " $posts " variable but is there a variable i can use in the stub file for linkblog entries?

thanks

2 Feb 27, 2007 15:03

Do you mean the number of entries shown in the linkblog section of your sidebar? You can change the limit for that feature by editing your skins/yourskin/_linkblog.php file and changing this line:

if(!isset($linkblog_limit)) $linkblog_limit = 20;


Change the 20 to whatever works for you. I usually set it to 99 because I think that's a big enough number for a long time.

3 Feb 28, 2007 10:32

that's it! you're the best man, thanks.

4 Mar 12, 2008 12:01

Hello,
How can we do this for b2evolution 2.4.0 ?

TIA

5 Mar 12, 2008 12:11

@Yumurcak
Have a look at the widget files...
blogs->inc->widgets->widgets-> _linkblog.widget.php
app line number 91 might be what your looking for...

'linkblog_limit' => array(
					'label' => T_( 'Display' ),
					'size' => 4,
					'defaultvalue' => 100,
					'note' => T_( 'This is the maximum number of links to display.' ),

6 Mar 12, 2008 12:14

Or you could change the setting in admin > blog settings > widgets > linkblog widget ;)

¥


Form is loading...