Editing Your Sites Templates
You can edit all of your sites HTML files direct from your AdminCP. You can read up on HTML[by clicking here].
To edit your templates login into your AdminCP and go to:
Extensions >> Theme >> Manage Themes
Then for the theme
phpFox (Default)
click the drop down icon and then click
Edit Templates
From there you can find all the HTML files for your site. All of the templates are grouped into modules and the main templates are grouped in
Global Templates
These templates control the main structure of your site. The main template that holds the entire structure of your site is
template.html.php
To edit your sites index page these templates can be found in the
core
module. Once you click on
core
you will find the following file
index-visitor.html.php
This file can be found within the
Controllers
group. This file is the index page for when users are not logged into your site. The index page for when users are logged in is
index-member.html.php
Finding Specific Templates for a Page
Finding templates for a specific page is fairly easy and once you learn it you will be able to find out where a specific page can be changed in no time. Before we continue we are assuming you are on the page where we are editing templates, which we pointed above.
Lets take for example if we visit the page:
http://www.yoursite.com/user/browse/
or
http://www.yoursite.com/index.php?do=/user/browse/
both links are the same, however it all depends if you have short URLs enabled or not. The part we need to look at is:
/user/browse/
This part controls how we connect to templates. The first part is:
user
This part always controls the module we are connecting to. The 2nd part is:
browse
This is the controller we are connecting to. So to find this template we click on the sub-menu:
user
Then under "Controllers" we click on "browse.html.php". There you have the HTML controller for that page. You will notice the name "browse.html.php" has the word "browse" in it so when looking for the template just remove ".html.php" and you should find it.

This is great but why do I get an empty index-visitor.html.php template when i look in the default theme? I really want to copy the thing over to my new theme so i can begin editing it!!
Can anyone point the way to the default index-visitor.html.php template that my new theme is currently using so that I can get the source code?!
how to hide total number of member in right site of view more.,i mean when user click members menu/browse then she/he only see "view more"only and can't see total count of members?
If we edit the template from the AdminCP, what would be the proper way to export the template so we can import it into another website? Also what is the proper way to setup a template, meaning what are the requirements for phpfox to properly install it.



