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

loic germain Posted in Beginning Developers 6 years 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 6 years ago

no good

us Roman Lohov Replied 6 years 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 6 years ago

<?php
/**

define('OSSN_ALLOW_SYSTEM_START', 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 ossn_load_page($handler, $page);

what is the code please

French Loic germain Replied 6 years ago
German Michael Zülsdorff Replied 6 years ago

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