Hi,
Is there a way to add a page in a group ?
I want to add the link just after group name and members (or a group subpage in the menu) and open it just below.
The page will be just to view an external site https://framacalc.org/ to share it with this group.
I've modify the games component yet to view this page but all members can view this page.
Thanks.
Eric
That's work but in fact my wish was to put a link to open it in an iframe into the div ossn-contents like the games component do.
So I've modified the /components/games/pages/games.php with the link to the page.
I've add:
ossn_register_menu_link('members', 'test', 'games', 'groupheader');
to the /components/games/ossn_com.php but it don't work as it give url https://domain.tld/group/78/games
I think it's much work to get it with this url may be due to group authorization because i've try to modify line 22 of ossn_com.php of games
'url' => ossn_site_url('games'),
to
'url' => ossn_site_url('group/78/games'),
but it doesn't work
If to much difficult is there a way to get a link to url https://domain.tld/games ?
Thanks.
Eric
To add link, use following code in your component ossn_com.php file:
ossn_register_menu_link('custom_link', 'Text', " https://framacalc.org/ ", 'groupheader');
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)