By Marcus Roskill on Thursday, 14 February 2019
Posted in General Issues
Replies 12
Likes 0
Views 439
Votes 0
HI guys,

How do we add our own custom menu items into the menu area for each group? See attached screenshot where I would like to add custom menu items. Links to a group category is what we would like.

Thanks
Katie
Hey there,

It is impossible to do that at this point of time currently.
·
Friday, 15 February 2019 11:48
·
0 Likes
·
0 Votes
·
0 Comments
·
That's a shame.

How do I add something to the sidebar then please?

Thanks,
Katie
·
Friday, 15 February 2019 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

How do we add our own custom menu items into the menu area for each group? See attached screenshot where I would like to add custom menu items. Links to a group category is what we would like.

You can download and modify the attached navigation.php file and paste it at template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/helpers/cover/navigation.php.

You need to create the folders manually if you didn't see it.

How do I add something to the sidebar then please?


You can add modules into the position of 'es-sidebar'. Can you have a try and see how it goes?
·
Friday, 15 February 2019 18:46
·
0 Likes
·
0 Votes
·
0 Comments
·
The 'es-sidebar' doesn't seem to work

Thanks
Katie
·
Friday, 15 February 2019 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
I want these changes to ONLY be for the groups, not the dashboard.

Thanks
·
Friday, 15 February 2019 19:09
·
0 Likes
·
0 Votes
·
0 Comments
·
I want these changes to ONLY be for the groups, not the dashboard.

Yes, you can decide which page you would like to show this module.
For example this group category module, you should set only display this module under the group menu item.

The 'es-sidebar' doesn't seem to work

Do you mean this section? https://take.ms/9BEa4
If yes, it seems like that is issue, I will log into issue tracker.
·
Saturday, 16 February 2019 17:10
·
0 Likes
·
0 Votes
·
0 Comments
·
What PHP file is it to edit the group individual pages please?

The attached page please.

Thanks,
Katie
·
Wednesday, 20 February 2019 17:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You can copy the default.php file from JoomlaFolder/components/com_easysocial/themes/wireframe/groups/item/default.php and paste it at template override which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/groups/item/default.php.

Then, you can modify it.
·
Wednesday, 20 February 2019 19:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks.

I am trying to add some code, like I had previously in this file, see attached. But it has all changed and I cannot get anything to show. How do get the code I had before to work?



<div class="es-side-widget__title">
For Sale/Wanted
</div>
<div class="es-side-widget">
<ul>
<li><a href="/index.php/groups/13-hunting-kit">Hunting Kit</a> </li>
<li><a href="/index.php/groups/12-hunt-clothing">Hunt Clothing</a> </li>
<li><a href="/index.php/groups/11-hunting-horses">Hunting Horses</a> </li>

</ul>

</div>



Thanks
Katie
·
Thursday, 21 February 2019 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,
I am trying to add some code, like I had previously in this file, see attached. But it has all changed and I cannot get anything to show. How do get the code I had before to work?


I am lost here. Can you explain more about what do you mean "trying to add some code, like I had previously in this file, see attached" and "it has all changed and I cannot get anything to show"?

Also, may I know what code are you trying to achieve?

From what I checked, I notice this is the HTML code that you had added from the attached file:

<hr class="es-hr" />

<div class="es-side-widget__title">
For Sale/Wanted
</div>
<div class="es-side-widget">
<ul>
<li><a href="/index.php/groups/13-hunting-kit">Hunting Kit</a> </li>
<li><a href="/index.php/groups/12-hunt-clothing">Hunt Clothing</a> </li>
<li><a href="/index.php/groups/11-hunting-horses">Hunting Horses</a> </li>

</ul>

</div>

<div class="es-side-widget__title">
Employment
</div>
<div class="es-side-widget">
<ul>
<li><a href="/index.php/groups/26-looking-for-work">Looking For Work</a> </li>
<li><a href="/index.php/groups/25-job-vacancies">Vacancies</a> </li>

</ul>

</div>


This is the HTML code that you had added from the template override:

<hr class="es-hr" />
<!--
<div class="es-side-widget__title">
For Sale/Wanted
</div>
<div class="es-side-widget">
<ul>
<li><a href="/index.php/groups/13-hunting-kit">Hunting Kit</a> </li>
<li><a href="/index.php/groups/12-hunt-clothing">Hunt Clothing</a> </li>
<li><a href="/index.php/groups/11-hunting-horses">Hunting Horses</a> </li>
<li><a href="/index.php/groups/10-hunt-ponies">Hunt Ponies</a> </li>
<li><a href="/index.php/groups/21-puppies-kittens">Puppies & Kittens</a></li>
<li><a href="/index.php/groups/20-stable-field-kit">Stable/Field Kit</a></li>
<li><a href="/index.php/groups/19-4x4-quads">4x4's & Quads</a></li>
<li><a href="/index.php/groups/18-trailers">Trailers</a></li>
<li><a href="/index.php/groups/17-horseboxes">Horseboxes</a></li>
<li><a href="/index.php/groups/16-livery-spaces">Livery Spaces</a></li>
<li><a href="/index.php/groups/15-tack-clear-out">Tack Room Clear-out</a></li>
<li><a href="/index.php/groups/14-tack">Tack</a></li>
</ul>

</div>

<div class="es-side-widget__title">
Employment
</div>
<div class="es-side-widget">
<ul>
<li><a href="/index.php/groups/26-looking-for-work">Looking For Work</a> </li>
<li><a href="/index.php/groups/25-job-vacancies">Vacancies</a> </li>

</ul>

</div>-->



The code in the template override seems fine for me here. If I uncomment the HTML code that you had added from the template override, it shows fine for me.
·
Friday, 22 February 2019 12:37
·
0 Likes
·
0 Votes
·
0 Comments
·
I cannot see the comments in either files in these two locations:

JoomlaFolder/components/com_easysocial/themes/wireframe/groups/item/default.php and JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/groups/item/default.php.

I am trying to add some links to the categories in the sidebar of individual group pages.

Thanks
Katie
·
Friday, 22 February 2019 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I cannot see the comments in either files in these two locations:


It seems that the HTML code has been commented out and it is still in JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/groups/item/default.php as shown in the screenshot.

Am I missing anything?

If I understand your question wrongly, can you explain more details about your current question so that we can have a better understanding of it?
·
Friday, 22 February 2019 19:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post