Trying to add an upload form to the side menu.

Christian Miller Posted in Component Development 4 years ago

I'm having trouble following the class structure. I have the following code to make a menu item, but I'd like the web browser to not display the URL.

    ossn_register_sections_menu('newsfeed', array(
    'text' => 'Import',
    'url' => ossn_site_url() . 'components/bof/form.php',
    'section' => 'bookoffaces',
    'icon' => true
));

The link should display a form so the user can upload a file. I'd like to either display a "dialog" to display the upload submission form, or display the form where the news feed normally displays. Can anyone point me to some examples for components I can look at to do either of these things? Thank you.

Replies
Indonesian Arsalan Shah Replied 4 years ago

It make sense that you can not add forms like that. I suggest you to see a group add option and link. It opens a ossn form on clicking the link.