By applestalk on Thursday, 16 March 2017
Posted in Technical Issues
Likes 0
Views 330
Votes 0
My client has decided to disable staff from creating their own events (at least at first). Is there’s a way to remove the My Events view for a member? Or change the text in the centre of the page, as people may wonder why/how they can create events when they can’t.
You could search for the following string and translate it accordingly

COM_EASYSOCIAL_EVENTS_EMPTY_MINE="You've not created any event yet."
·
Friday, 17 March 2017 01:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, the "My Events" filter is supposed to filter events that you created and joined. Removing this could jeopardize the user's flow eh?

Anyhow, if you want to remove it, edit the file /components/com_easysocial/themes/wireframe/events/default/default.php and remove the codes below at line 65,


<li class="o-tabs__item has-notice <?php echo $filter == 'mine' ? 'active' : ''; ?>" data-filter-item data-type="mine">
<a href="<?php echo ES::event()->getFilterPermalink(array('filter' => 'mine', 'cluster' => $cluster)); ?>"
title="<?php echo JText::_('COM_EASYSOCIAL_PAGE_TITLE_EVENTS_FILTER_MINE', true); ?>"
class="o-tabs__link">
<?php echo JText::_('COM_EASYSOCIAL_EVENTS_FILTER_MINE'); ?>
</a>
<span class="o-tabs__bubble" data-counter><?php echo $counters->created; ?></span>
<div class="o-loader o-loader--sm"></div>
</li>


Alternatively, you can update the translation string for COM_EASYSOCIAL_EVENTS_FILTER_MINE if you do not want to remove it altogether.
·
Friday, 17 March 2017 00:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark,

What about if I wanted to change the text - You've not created any event yet.
·
Friday, 17 March 2017 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark.
·
Friday, 17 March 2017 01:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Friday, 17 March 2017 10:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post