By Philip on Monday, 11 August 2014
Posted in General Issues
Likes 0
Views 650
Votes 0
How might I add the next highest category level when viewing posts in the main view? This would help up greatly.

Hello Philip,

I have added the necessary hacks on the file frontpage.post.php and it should show the parent / child category relation.

Also, please do understand that our support scope does not cover customizations. Unfortunately we would not be able to assist you with customizations in the future.
·
Monday, 11 August 2014 23:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Philip,

Since the $category object has the parent_id property, you can use it to render the parent category. I guess the code would look something like


<?php
$parent = DiscussHelper::getTable('Category');
$parent->load($category->parent_id);

echo $parent->title;
?>


Anyway please do understand that customizations are actually beyond the scope of our support.
·
Monday, 11 August 2014 03:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Apologies, I thought there may have been a toggle switch I was missing. As for the code above, thats a little over my head. I have no idea where to insert such a thing.

I left StackIdeas EasyDiscuss a positive review on the Joomla Extensions site. Thanks again for everything.
·
Monday, 11 August 2014 03:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Philip,

Please try to replace the attached file in ../components/com_easydiscuss/themes/simplistic/frontpage.post.php. If it's doesn't help, you can provide us your backend and FTP so we can apply the hack for you.
·
Monday, 11 August 2014 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
I replaced the file in the location specified, but did not see any change in the front. I've provided details below. Thank you.
·
Monday, 11 August 2014 21:52
·
0 Likes
·
0 Votes
·
0 Comments
·
I keep saying thank you, but that doesn't really cover it. I truly grateful for everything done.

I understand the scope of support. I didn't expect customizations on by behalf, but I certainly appreciate it.
·
Tuesday, 12 August 2014 00:05
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Tuesday, 12 August 2014 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post