Forum
New Page not being created
Hi All ,
I have setup 1 master page in perch runaway and tried to create 1 page under it .
However , the page is being created in the dashboard , but it doesn't create the index.php corresponding to it .
PFA the template of master page .
<?php if (!defined('PERCH_RUNWAY')) include($_SERVER['DOCUMENT_ROOT'].'/perch/runtime.php'); ?>
<!DOCTYPE html>
<html lang="en" style="overflow-x: hidden">
<!-- Header
================================================== -->
<?php
perch_layout('global/header', array(
));
?>
<body>
<!-- NavBar
================================================== -->
<?php
perch_pages_navigation(array(
'template' => 'Nav.html',
));
?>
<?php perch_content('Landing Section'); ?>
<?php perch_content('About Us'); ?>
<?php perch_content('Listing CRM'); ?>
<?php perch_content('Choose Location'); ?>
<?php perch_content('Review'); ?>
<!-- Footer
================================================== -->
<?php
perch_layout('global/footer', array(
));
?>
</body>
</html>
PFA the perch Diagnostics .
Perch Runway: 3.1.3, PHP: 7.2.7, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $, with PDO Server OS: WINNT, apache2handler Installed apps: content (3.1.3), assets (3.1.3), categories (3.1.3) App runtimes: <?php $apps_list = [ ]; PERCH_LOGINPATH: /shades/perch PERCH_PATH: C:\xampp\htdocs\shades\perch PERCH_CORE: C:\xampp\htdocs\shades\perch\core PERCH_RESFILEPATH: C:\xampp\htdocs\shades\perch\resources Image manipulation: GD PHP limits: Max upload 512M, Max POST 512M, Memory: 128M, Total max file upload: 128M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes HTTP_HOST: localhost DOCUMENT_ROOT: C:/xampp/htdocs REQUEST_URI: /shades/perch/core/settings/diagnostics/ SCRIPT_NAME: /shades/perch/core/settings/diagnostics/index.php
Runway won't create an
index.php
file. It's not needed. When the page is requested, Runway will combine the content with the master page and deliver the result dynamically.