By TKABE on Tuesday, 29 March 2016
Posted in Technical Issues
Replies 1
Likes 0
Views 474
Votes 0
Hi,

I struggle with finding some of the PHP files associated with dynamically created Easy Social pages.

How to to recreate:
If I am viewing an Easysocial Page - for instance the Groups-My Groups page - what Chrome or Firefox inspector tools/extensions are best to discover the PHP file path to edit? I have searched available extensions and web developer tools without success.

I even tried finding a documentation list of PHP files and usage for developers in Easy Social.

Your guidance is appreciated.

Todd
Hello TKABE,

It is actually a bit tricky to find the correct file for the page you are viewing. For us, we have already familiar with the file structure and we know which file for which page.

First, you need to know view file that generate the page. For example, the Groups page: index.php?option=com_easysocial&view=groups, notice that view=groups, the file that being used is ../components/com_easysocial/views/groups/view.html.php and look for the display() function. You can see at the bottom of the function this code:
parent::display('site/groups/default');

This means the template file is in ../components/com_easysocial/themes/yourtheme/groups/default.php.

Hope this helps.
·
Tuesday, 29 March 2016 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post