Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

insert Sub navigation Item problem

Tagged: Buddypress sub navigation item

  • This topic has 0 replies, 1 voice, and was last updated 11 years, 7 months ago by Harry.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • September 25, 2013 at 8:02 am #3685
    Harry
    Participant

    Hi,
    first thanks for this awesome “commons in a box”.
    I’ve a probleme with subnavitem in buddypress.
    I’m using your default theme.
    I’ve made a plugin for resume your education profile.You can add school, year, country.
    When I activate the plugin everything is ok, I can see the item in my profil navigation under Profil and just before Message.
    I want to add two subnav item : Add and Show.
    I use this code which is ok on other theme :

    $add_page = array(
    			'name'            => 'Ajouter',
    			'slug'            => 'add',
    			'parent_url'      => $parent_url,
    			'parent_slug'     => $this->component_slug,
    			'screen_function' => array($this, 'resume_page'),
    			'position'        => 20,
    			'user_has_access' => ( bp_is_my_profile() || current_user_can('administrator') )
    		);
    		bp_core_new_subnav_item($add_page);

    But nothing appears on my profile.
    What am I doing wrong?

    Thanks in advance.
    Harry.

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register