[buddypress-dev] How to display the blog as default

phlux0r phlux0r at gmail.com
Wed Aug 20 20:55:33 GMT 2008


Hi Brian,

hm, that doesn't appear to work. I played around with that file already. 
It appears that the default/profile/index.php takes over in any case... 
not sure where it is decided that if $current_component is blank the 
site should go to the profile...

Cheers,
Robert

Brian B wrote:
> Hi Robert,
>
> You can change the default page by opening home.php in the themes 
> folder and change the code to:
>
> <?php // Do we want the blog or profile as home? Check will go here. 
> if ( $current_component == 'blog' ) :    include_once (TEMPLATEPATH . 
> '/blog.php'); else :    include_once (TEMPLATEPATH . '/blog.php'); 
> endif; ?>
>
> Brian
> ------------------------------------------------------------------------
>
> _______________________________________________
> buddypress-dev mailing list
> buddypress-dev at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/buddypress-dev
>   



More information about the buddypress-dev mailing list