I would like to know the code so that the index.php or Home page

loic germain Posted in Beginning Developers 4 months ago

Hello,

I would like to know the code so that the index.php or Home page is another link.

for example I want the first page that appears at startup or by clicking on home from my topbar to be another link.

What is the code please ?.

Thank you

Replies
French Loic germain Replied 4 months ago

no good

us Roman Lohov Replied 4 months ago

by clicking on home from my topbar to be another link.

themes/goblue/plugins/default/theme/page/elements/topbar.php

<span><a href="<?php echo ossn_site_url();?>"><?php echo ossn_site_settings('site_name');?></a></span>

The rest I didn't understand.

French Loic germain Replied 4 months ago

<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author OSSN Core Team <[email protected]>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/

define('OSSNALLOWSYSTEMSTART', TRUE);
require
once('system/start.php');
//page handler
$handler = input('h');
//page name
$page = input('p');

//check if there is no handler then load index page handler
if (empty($handler)) {
$handler = 'index';
}
echo ossnloadpage($handler, $page);

what is the code please

French Loic germain Replied 4 months ago
German ~Z~ Man Replied 4 months ago

I would recommend to contact your hosting provider in order to change the webspace your base url is pointing to.