By Kirill Pilipenko on Wednesday, 11 April 2018
Posted in Technical Issues
Likes 0
Views 633
Votes 0
Hey guys, so I'm trying to temple different parts of EasySocial right now. Find out one problem -
I need to call for a category name in /components/com_easysocial/themes/wireframe/videos/default/items.header.php
Bellow is instruction so you can easily understand:



Please look at the text on the picture and tell me how to call a name of category from exactly this php file.
P\s any hack-ish method will work just great - so any advice will be helpful =)
Hi Kirill,

Correct me if I'm wrong here do you want to change the 'video' in the video category page to use specific category name? http://take.ms/kdrxn If yes you can try use the code below and see how it goes?

$activeCategory->title


You're suggested to backup the file that you want to customize beforehand for precaution
·
Wednesday, 11 April 2018 12:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeap, everything working, thank you!

Please tell me how can I find this "callout" like one that you gave me - when I'm modifying website?
Sometimes I spend a few hours before I'll find correct one that works in specific php area.
It's really slowing down customization process EasySocial on my website =(
Do you have any documentation for this one?
·
Wednesday, 11 April 2018 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Kirill,

Firstly, we do not have specific documentation for that.
The easiest step to get the callout is to find which file was calling the file, as example you want to know which file was calling this items.header.php you can global search /items.header (narrow the scope to search only on frontend file).
As you can find there is a file calling this which is (/components/com_easysocial/themes/wireframe/videos/default/item.list.php) and so on, until you can find the view.html.php(.../components/com_easysocial/views/videos/view.html.php) file which is under the function display where libraries/model has been call here
·
Thursday, 12 April 2018 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Muhammad, thank you for advice, that same method I used before.
Really taking a lot of time %_%

Thank you anyway.
·
Friday, 13 April 2018 04:43
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Kirill
·
Friday, 13 April 2018 10:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post