By Alysha McVeigh on Wednesday, 28 September 2022
Posted in Groups
Likes 0
Views 429
Votes 0
Hi there,

We're trying to add a new tab to the certain EasySocial Groups. So far I have found where to overide and create a new tab in themes:
~/helpers/cover/navigation.php
I'm not too sure where my code for the content of the tab would go though.

Is there a better way to do this though, such as creating a custom field? If so is there a good template to use to create my own?

Thanks for any help you can provide,

James
Hey there,

If your new tab is pointing to an external site only then you can just template override the /helpers/cover/navigation.php only. You can do this at Backend > EasySocial > Themes > Wireframe > Select Edit Files > select /helpers/cover/navigation.php.

If your new tab is pointing to an internal of the current group such as Tasks, Discussions, and others of the current group, perhaps you can take a look at and follow how we create the apps such as Tasks, Discussions, and others for the group.

If you really want us to perform the customization for you, you can submit a request at https://stackideas.com/customization-works. Our salesperson would gladly send you a quote for the customization that you have requested.
·
Wednesday, 28 September 2022 11:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Irwin,

I guess I was looking at the second one :

...perhaps you can take a look at and follow how we create the apps such as Tasks, Discussions, and others for the group. <--Where would I find that information?

Thanks again,

James
·
Wednesday, 28 September 2022 13:09
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

...perhaps you can take a look at and follow how we create the apps such as Tasks, Discussions, and others for the group. <--Where would I find that information?


Unfortunately, we do not have a documentation for this currently.
·
Wednesday, 28 September 2022 15:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Irwin,

That's too bad... could you point me to files or folders of those apps that i could try and emulate?

Thanks again

James
·
Thursday, 29 September 2022 02:19
·
0 Likes
·
0 Votes
·
0 Comments
·
You can take a look at the folders inside JoomlaFolder/media/com_easysocial/apps/group such as Tasks app will be JoomlaFolder/media/com_easysocial/apps/group/tasks/...

Once you have created your custom app, you need to discover and install it in EasySocial's Applications section in the backend. After that, remember to enable the app.

EDITED
·
Thursday, 29 September 2022 10:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin,

I've done a bit of work on an application and was just wondering if it was possible to add Javascript and CSS files to the app and how to reference them/where to put them? If not would all CSS and Script have to be done inline?

Thanks,

James
·
Friday, 07 October 2022 05:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I suggest you do inline CSS and scripts will be better.
·
Friday, 07 October 2022 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin,

Thanks for your help so far. I'm currently keeping some of my application hidden depending on the logged in users profile type. Is there a way to get the users profile type id?
I've tried $user->profile_id but it doesn't seem to work at the moment, or more probably it won't work.
Any help would be great

James
·
Saturday, 15 October 2022 06:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

You should try the following code:

$user->getProfile()->id
·
Monday, 17 October 2022 10:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, for all your help with this one Irwin. You can close this ticket now

James
·
Tuesday, 01 November 2022 08:56
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Tuesday, 01 November 2022 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post