Skip to:
Content
Pages
Categories
Search
Top
Bottom

Skeleton Component


  • jgadbois
    Participant

    @jgadbois

    I’d like to use the skeleton component to give me a head start on a component I’d like to develop. Does anyone know if it’s going to be updated for BP 1.2 and WP 2.9.1?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Eventually


    Dwenaus
    Participant

    @dwenaus

    I’d just like to second that. If one uses the skeleton component as it is, will there be major confusion with BP 1.2, or are the issues minor?


    jgadbois
    Participant

    @jgadbois

    It didn’t work at all for me but I’m new to buddypress so the fixes may be minor if you already know the framework. I didn’t get any mnus on wp-admin and the tab with the skeleton features redirected to the home page.


    jgadbois
    Participant

    @jgadbois

    I’ve been poking through the skeleton component and was able to get everything displaying properly at least. Here’s the changes I’ve had to make so far to get it working with BP 1.2 and WP 2.9.2.

    Change manage-options to manage_options in the below line:

    add_submenu_page( 'bp-general-settings', __( 'example Admin', 'bp-example' ), __( 'example Admin', 'bp-example' ), 'manage_options', 'bp-example-settings', 'bp_example_admin' );

    add_action( 'admin_menu', 'bp_example_check_installed', 12 ); – add a priority (12 in this case)

    Change

    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'plugin-template' ) );

    to

    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );


    designodyssey
    Participant

    @designodyssey

    thanks. This should prove very helpful. I’ll start testing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Skeleton Component’ is closed to new replies.
Skip to toolbar