Hi,
I want to add a couple of extra links to the Events menu (where All Events, My Events etc. sit) but unsure which file I need to achieve this.
Can you point me in the right direction?
Kind regards
Mel
Hi, Melanie.
Just add new menu items to Backend -> Menu -> JomSocial toolbar menu
Hi Michal,
I don't think its the toolbar menu I mean, its the one in the image that appears when the Events page is opened:
Hi, Melanie.
No, you can't add anything in that position as this is a kind of context menu and it's created automatically dependent what page you currently view. If you add a link there: it will be displayed as static item one every page that loads this bar and you'll need to hack core files to do that (so you'll need do your changes every time after upgrade).
So the best solution will be to use JomSocial toolbar. but as I see from your printscreen you moved into main site menu area... only icons left.
Hi Michal,
apologies for the delay responding. I have now moved the menu items back to the toolbar, which is actually better so thanks. I have one final question, I am using Techjoomla's Jtiketing, Kunena and EasyBlog, and have added the menu links to the Toolbar, however I noticed that none of the icons display on any of the newly added menu item pages, for example the home icon, logout, notifications etc. Only the toolbar text links display so it doesn't look consistent.
Is this expected behaviour because they are not Jomsocial? Is there any way I can add them to the toolbar? I have gone through all the settings and cannot see where I might add them.
Kind regards
Mel
Hi, Melanie.
I need to see that issue. Could you edit your first post and provide site credentials?
Also link to your community pages will be helpful.
Hi, Melanie.
Ok, I see your issue. On JS pages icons are displayed well: ROOT/profile
But not on other pages: ROOT/events/ticket-sales/allticketsales
I assign developer to this thread.
Hi Michal,
many thanks. Will the developer need access to my site or is it enough that you have seen it?
Is there any quick fix I can apply or do I need to wait for a new release?
Kond regards
Mel
Hi Melanie,
here the steps:
edit [joomla site root]/components/com_community/helpers/event.php at line 536, after this code
if( COwnerHelper::isRegisteredUser() && $config->get('createevents') && $my->canCreateEvents() || COwnerHelper::isCommunityAdmin() )
{
//$view->addSubmenuItem('index.php?option=com_community&view=events&task=create', JText::_('COM_COMMUNITY_EVENTS_CREATE') , '' , SUBMENU_RIGHT );
if( $config->get('event_import_ical') )
{
$view->addSubmenuItem('index.php?option=com_community&view=events&task=import', JText::_('COM_COMMUNITY_EVENTS_IMPORT') , '' , SUBMENU_RIGHT );
}
}
$view->addSubmenuItem('index.php?option=com_community&view=events&task=import', JText::_('COM_COMMUNITY_EVENTS_IMPORT') , '' , SUBMENU_RIGHT );
index.php?option=com_community&view=events&task=import
JText::_('COM_COMMUNITY_EVENTS_IMPORT')
Hi Alberto,
is that the fix in relation to what Michal identified here
Ok, I see your issue. On JS pages icons are displayed well: ROOT/profile
But not on other pages: ROOT/events/ticket-sales/allticketsales
I assign developer to this thread.
Hi Melanie,
about menu icons, here the fix: