Docs / U3 / How to upgrade to the SPlatform U3 without loosing content SPlatform U3 Docs - How to upgrade to SP U3 without loosing content?

News: SPlatform U7 was released!

Docs / U3 / How to upgrade to the SPlatform U3 without loosing content

Options: Go back


This thing isn't hard, it's really easy, the new page manager uses the folder pages to store the page content only, the whole page load is in the index.php

So, to upgrade to the new SPlatform you need to do the following things:

1. Copy and paste the old files from the config folder in the core/config/ folder.

2. Get the code from your pages and use it for the new pages in the pages folder.

3. Test your website!

How to get your page content from the old page manager

Get the old code from your pages:

<?php

include('config/maintenance.php');
$core = true;
if($maintenance!=$core){ 
?>
<?php include('themes/default/header.theme.block.php'); ?>

MY PAGE CONTENT

<?php include('themes/default/footer.theme.block.php'); ?>
<?php
}
else{ 
include('config/maintenance-message.php');
};
?>

Copy the code between the:

<?php include('themes/default/header.theme.block.php'); ?>

and

<?php include('themes/default/footer.theme.block.php'); ?>

Website Translation

Donate

Latest 5 news

08.27.2017 | SPlatform U7 was released!
02.07.2017 | SPlatform U6 was released!
01.15.2017 | SPlatform U6 is almost done!
04.20.2016 | SPlatform U5 is now public!
10.05.2015 | SPlatform is now using the GNU GENERAL PUBLIC LICENSE Version 2, June 1991 license.
Website hosted by:

SPlatform is licensed under GNU GENERAL PUBLIC LICENSE Version 2, June 1991