Recent Topics

1 Sep 30, 2009 05:32    

My b2evolution Version: 2.x

Hi guys,

I'm wondering how I can either select only some categories to show on the homepage or else if there is any plug-ins available to check/uncheck everytime you write a new post to specify either or not you want it to show on your homepage.

Also, is there any way I can get rid of the flash reader that apparently automatically shows when I publish a podcast in a mp4 format?

Thanks in advance!

2 Oct 11, 2009 15:01

If you use stub files you can pick which categories show up in the blog with something like this:

// limiting the blog to certain categories based on cat ID
$catsel = '17,53,11,20,37,14,35,36,23,57,61';

For the "don't show the podcast thing" you can look in /skins/_item_content.inc.php (or maybe /skins/yourskin/same_file_name) for "$Item->url_link" and change podcast to false. Like this:

// URL link, if the post has one:
$Item->url_link( array(
'before' => $params['before_url_link'],
'after' => $params['after_url_link'],
'text_template' => $params['url_link_text_template'],
'url_template' => '$url$',
'target' => '',
'podcast' => false, // auto display mp3 player if post type is podcast (=> false, to disable)
) );

That'll disable it for all podcasts though - not just mp4 format. Dunno how to do it for only one format.

3 Oct 11, 2009 21:35

Thank you very much, that now works!


Form is loading...