By Giacomo on Wednesday, 13 March 2019
Posted in Technical Issues
Replies 9
Likes 0
Views 515
Votes 0
I would like to have a module displayed in the "es-groups-sidebar-top" position and modify the code to choose which contents based on the name of the group. could you tell me which file I need to change for that location? thank you
Hi there,

Not sure which module you referring to currently. Maybe you can start to check them there(on the module) itself.
·
Wednesday, 13 March 2019 17:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your answer. I need to know which file I need to change. I repeat that I would like to insert in the position that I have indicated you the custom code
·
Wednesday, 13 March 2019 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Honestly, i am a bit lost here actually. Exactly i am not sure if you wanted to customise a module or wanted to customise our core files currently.

Can you point out with more details so that we can understanding your requirement here. Do provide us with screenshot, how to replicate this and with more references so that we can understand them better.
·
Wednesday, 13 March 2019 17:33
·
0 Likes
·
0 Votes
·
0 Comments
·
in the position shown in the screenshot, "es-groups-sidebar-top", I would like to display an ad-agency form for advertising. I would like to make a customization in the code depending on which group you are viewing. I therefore need to know where the file to be modified is located. thank you
·
Wednesday, 13 March 2019 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
a file screenshot
·
Wednesday, 13 March 2019 17:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Thanks for your explanation. Understand them now. You can check them here .../components/com_easysocial/themes/wireframe/groups/default/sidebar.php on codes below.

[gist type="php"]
<?php echo $this->render('module', 'es-groups-sidebar-top', 'site/dashboard/sidebar.module.wrapper'); ?>
[/gist]

Do follow here on how to do template override https://stackideas.com/docs/easysocial/developers/themes/template-overriding
·
Wednesday, 13 March 2019 18:10
·
0 Likes
·
0 Votes
·
0 Comments
·
thank you so much. here, however, am I wrong or has it already rendered? I would like to choose. I'll explain you better: I would like to create many modules in the same position ("es-groups-sidebar-top") and then I would like to choose which one to display based on the name of the group. so I should act before it is rendered. where can I find the file? Thanks for your patience
·
Wednesday, 13 March 2019 18:19
·
0 Likes
·
0 Votes
·
0 Comments
·
I tried to display a test text in the file you indicated to me and it appears only in the group list. I want it to appear within each group and not in the list. thank you
·
Wednesday, 13 March 2019 18:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

We refer to position you gave earlier. If you wanted to shown on each groups, you will need to applied them on this position 'es-groups-item-sidebar-top' and your customisation at this file .../modules/mod_easysocial_sidebar/tmpl/group_item.php

where can I find the file?

You can check them here /administrator/components/com_easysocial/includes/themes/themes.php on render() function.
·
Wednesday, 13 March 2019 18:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post