[Plugin: BP My Home] Custom Widgets
-
Hi imath,
Me again, I’ve accomplished quite a bit with your code help, I’m still working on the same project!
http://www.foursticks.net/TravelBlog4/This time I actually have a question about BP my Home (imagine that!)
With previous versions I was able to create cutom sidebars that can accomodate php widgets in bp my home. However after upgrading to this latest one the method no longer seems to work.
The way I did it was to register the new sidebars in functions.php, then copy and rename your example widget to match the sidebars. Then I just changed a bit of code at the bottom of the widget.php files to associate with the sidebar./** * main function called by BP My Home */ function bpmh_example_c_widget_display(){ ?> <?php dynamic_sidebar( 'imath-bpmh-first-b' ) ?> <?php } ?>Is there a new way to do this now? I’m still using the old version of BP my home but it seems to brake the sidebar on the My Home page, otherwise it works fine accept It only seems to show all my php widgets if I refrain from using more than one iframe. I wanted to see if these things could be remidied with the new version.
(still using previous version of Buddypress, waiting for Custom Community theme upgrade)
Thanks Again!
The topic ‘[Plugin: BP My Home] Custom Widgets’ is closed to new replies.