By James on Wednesday, 01 August 2018
Posted in General Issues
Likes 0
Views 429
Votes 0
How do we show the Category Description on the pages where the user is prompted to choose a category for either Events, Groups, or Pages? I can not find a setting to enable this in the backend.
Hi there,

Try upload attached files on path listed below respectively.

Use category.item files
/templates/yourcurrenttemplate/html/com_easysocial/clusters/create/category.item.php

Use category.item_events but you need to rename category.item_events to category.item
/templates/yourcurrenttemplate/html/com_easysocial/events/create/category.item.php
·
Wednesday, 01 August 2018 14:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi James,

Currently we cannot show them during categories selections as those sizes are too narrow to include their descriptions as those descriptions are commonly too long. But maybe you can try to upload attached file at path below. Prompted are template override.

Use category.item files
/templates/yourcurrenttemplate/html/com_easysocial/clusters/create/category.item.php

Use category.item_events but you need to rename category.item_events to category.item
/templates/yourcurrenttemplate/html/com_easysocial/events/create/category.item.php

Please give it a try and see how it goes.
·
Wednesday, 01 August 2018 13:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, this worked for Events, but not for Groups or Pages.

Thank you,
James
·
Wednesday, 01 August 2018 13:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Sorry for inconvenience. I have included wrong files Can re-try using uploaded files below.
·
Wednesday, 01 August 2018 13:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Worked great!

Only question I have is how do I modify that line of code to remove it from the link so that it is not linkable but still inside of the box?


<a class="btn btn-es <?php echo $category->container ? 'is-container' : ''; ?>" href="<?php echo ESR::$clusterType(array('controller' => $clusterType , 'task' => 'selectCategory' , 'category_id' => $category->id));?>">
<img class="avatar" src="<?php echo $category->getAvatar(SOCIAL_AVATAR_SQUARE);?>" alt="<?php echo $this->html('string.escape', $category->getTitle());?>" />

<div class="es-title">
<?php echo $category->getTitle();?><br>
<div class="line-separator"></div>

<?php echo $category->getDescription();?><br>
</div>

</a>
·
Wednesday, 01 August 2018 13:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Abdul!

This worked perfectly! I really appreciate your help achieving this.
·
Wednesday, 01 August 2018 20:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating us on this James, glad that your issue is resolved now.

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

Thanks for understanding
·
Wednesday, 01 August 2018 20:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post