I am trying to make a to do list component. I want to display the list link under links.

Ken McGonigal Posted in Component Development 9 years ago

I am trying to make a to do list component. I want to display the list link under links. This is a form to make a list which can then be updated and appended etc. The list also has to be owned by the user with the ability to share the list in the posts feed.

I just took a look at your Hello World example; but need more references.

Thanks

Replies
Catalan Ken McGonigal Replied 9 years ago

Thanks Arsalan!

Indonesian Arsalan Shah Replied 9 years ago

To add a link in sidebar under links, use following code in your ossn_com.php initialization function:

    $url = ossn_site_url();
    if(ossn_isLoggedin()) {
            $user_loggedin = ossn_loggedin_user();
            $icon          = 'full icon url';
            ossn_register_sections_menu('newsfeed', array(
                    'text' => 'Lists',
                    'url' => 'Full url',
                    'section' => 'links',
                    'icon' => $icon
            ));

    }
French Eric F. Replied 9 years ago

Hi,

May be you can look at the reference, he have many informations:
https://www.opensource-socialnetwork.org/references/

Or can find it in the menu developers.