We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Photo page | Forum

Topic location: Forum home » Support » General Questions
Billy Pip
Billy Pip Mar 6 '15
Hi

i see two parts in photo page :

'Explore' & 'My Photos'


I want remove 'Explore' tab from this page


Please guide me how do that

Taissa Team
Taissa Mar 11 '15
Billy Pip, the My Photos page's routing involves the dynamic variable "username". The URL of this page depends on which user is logged in.
Therefore making the content of the page a default one will require complex custom code modifications.
Unfortunately I can not provide you with detailed instructions. You will need to modify more then two or three files such as the controllers/photo.php file , init.php file, activivate.php file and it requires a good knowledge of .php.

If you are not familiar with the plugin development or code modification, it would be better for you to find a developer who can help you. You can do this here: http://www.oxwall.org/market/specialists

The Forum post is edited by Taissa Mar 16 '15
Billy Pip
Billy Pip Mar 20 '15
why you removed your explain!! 

its just remove few line codes from files!

Taissa Team
Taissa Mar 23 '15
Billy Pip, the explanation was removed because it will not work. Even if you follow it, you will not be able to set the My photos tab as default.  And when you will click the Photo button you will always see the content of the Explore tab instead the My photos tab.  And as I said before this is because the My Photos page's routing involves the dynamic variable "username".