I Built a template Looks great but I can not add pages.

Permalink
I Built a template Looks great but I can not add pages. Every time I attempt to add a page it locks up when I click publish.


[code]<!DOCTYPE html>
<html lang="en">
<head>
<?php Loader::element('header_required')?>


<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--<link rel="shortcut icon" href="PUT YOUR FAVICON HERE">-->

<!-- Google Web Font Embed -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>

<!-- Bootstrap core CSS -->
<link href="<?=$view->getThemePath()?>/css/bootstrap.css" rel='stylesheet' type='text/css'>

<!-- Custom styles for this template -->
<link href="<?=$view->getThemePath()?>/js/colorbox/colorbox.css" rel='stylesheet' type='text/css'>
<link href="<?=$view->getThemePath()?>/css/templatemo_style.css" rel='stylesheet' type='text/css'>
</head>
<body>


<div class="templatemo-top-bar" id="templatemo-top">
<div class="container">
<div class="subheader">
<div id="phone" class="pull-left">
<img src="<?=$view->getThemePath()?>/images/phone.png" alt="phone"/>
123 345 56789
</div>
<div id="email" class="pull-right">
<img src="<?=$view->getThemePath()?>/images/email.png" alt="email"/>
<a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="ddbfb8a9b5a4bcb5f3babc9dbab0bcb4b1f3beb2b0">[email protected]</a><script cf-hash='f9e31' type="text/javascript">
/* <![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript:function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t&&t.previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]]> */</script>
</div>
</div>
</div>
</div><br> </br>

<div id="container">
<div id="header">
<div class="<?=$c->getPageWrapperClass()?>">
<!-- Logo -->
<div id="logo">


<a href="#"> <img src="<?=$this->getThemePath()?>/images/banner3.png"> <strong> <?php

$site = Config::get('concrete.site');
echo $site;

?> </strong> </a>

</div>


<br></br>
<!-- Carousel -->
<div id="templatemo-carousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#templatemo-carousel" data-slide-to="0" class="active"></li>
<li data-target="#templatemo-carousel" data-slide-to="1"></li>
<li data-target="#templatemo-carousel" data-slide-to="2"></li>
<li data-target="#templatemo-carousel" data-slide-to="3"></li>
<li data-target="#templatemo-carousel" data-slide-to="4"></li>
<li data-target="#templatemo-carousel" data-slide-to="5"></li>
<li data-target="#templatemo-carousel" data-slide-to="6"></li>
</ol>
<div class="carousel-inner">
<div class="item active">
<div class="container">
<div class="carousel-caption">
<h1>SHALOM AND WELCOME TO BETHYAH MINISTRIES HOME PAGE</h1>
<p>WE PRAY THAT YOUR TIME ON OUR SITE WILL BE ONE OF BLESSINGS AND GROWTH</p>
<p><a class="btn btn-lg btn-green" href="#" role="button" style="margin: 20px;">Register</a>
</div>
</div>
</div>

<div class="item">
<div class="container">
<div class="carousel-caption">
<div class="col-sm-6 col-md-6">
<h1>WHO WE ARE</h1>
<center> <h1><p><strong> BethYah Ministries<br>The Most Power Packed Place on the Planet, Empowering the People of Yah with Truth of Torah for Deliverance</br></strong></p></h1>
</center>

<p>We are a congregation and a community who Keep the Torah and the True Shabbat According to Bereshith 1:14. We Believe in Yah and Yah Alone. If you Would Like to know more about Us..</p>
</div>
<div class="col-sm-6 col-md-6">
<h1>Scripture</h1>
<p>YESHAYAHU 44: 6“Thus said HWHY, Sovereign of Yisra’Ãl, and his Redeemer, HWHY of hosts, ‘I am the First and I am the Last, besides Me there is no Elohim.
7‘And who is like Me? Let him call and declare it, and lay it before Me, since I appointed the everlasting people. And the events that are coming and those that do
come, let them declare these to them. </p>
</div>
</div>
</div>
</div>
<div class="item">
<div class="container">
<div class="carousel-caption">
<h1>I Am</h1>
<p> YESHAYAHU 43:11 “I, I am HWHY, and besides Me there is no saviour. </p>
<p><a class="btn btn-lg btn-orange" href="#" role="button">Read More</a></p>
</div>
</div>
</div>

<div class="item">
<div class="container">
<div class="carousel-caption">
<?php
$a = new Area('carousel slide 4');
$a->display($c);
?>

</div>
</div>
</div>
<div class="item">
<div class="container">
<div class="carousel-caption">
<?php
$a = new Area('carousel slide 5');
$a->display($c);
?>

</div>
</div>
</div>
<div class="item">
<div class="container">
<div class="carousel-caption">
<?php
$a = new Area('carousel slide 6');
$a->display($c);
?>

</div>
</div>
</div>
</div>
<a class="left carousel-control" href="#templatemo-carousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
<a class="right carousel-control" href="#templatemo-carousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
</div><!-- /#templatemo-carousel -->
</div>

<br></br>

<body class="thrColLiqHdr">

<div id="container">
<div id="header">
<center><h1>BethYah Ministries</h1></center>
<!-- end #header --></div>
<div id="sidebar1">
<h3>Navgation</h3>

<?php
$nav = BlockType::getByHandle('autonav');
$nav->controller->orderBy = 'display_asc';
$nav->controller->displayPages = 'top';
$nav->controller->displaySubPages = 'none';
$nav->render('templates/header_menu');
?>
<span></span></div>
<div id="sidebar2">
<strong> <center>Shalom and Welcome to BethYah Ministries</center> </strong>
<?php
$a = new Area('Side Bar 2');
$a->display($c);
?>
<!-- end #sidebar2 --></div>
<div id="mainContent">

<?php
$a = new Area('Main Content');
$a->display($c);
?>

<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />



<div class="templatemo-service">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="templatemo-service-item">
<div>


<?php
$a = new Area('Col Left');
$a->display($c);
?>
</div>
<div class="text-center">
<a href="#"
class="templatemo-btn-read-more btn btn-orange">READ MORE</a>
</div>
<br class="clearfix"/>
</div>
<div class="clearfix"></div>
</div>

<div class="col-md-4">
<div class="templatemo-service-item" >
<div>
<?php
$a = new Area('Col Center');
$a->display($c);
?>
</div>
<div class="text-center">
<a href="#"
class="templatemo-btn-read-more btn btn-orange">READ MORE</a>
</div>
<br class="clearfix"/>
</div>
<div class="clearfix"></div>
</div>

<div class="col-md-4">
<div class="templatemo-service-item">
<?php
$a = new Area('Col Right');
$a->display($c);
?>
<div class="text-center">
<a href="#"
class="templatemo-btn-read-more btn btn-orange">READ MORE</a>
</div>
<br class="clearfix"/>
</div>
<br class="clearfix"/>
</div>
</div>
</div>
</div>

<div class="templatemo-team" id="templatemo-about">
<div class="container">
<div class="row">
<div class="templatemo-line-header">

<div>
<?php
$a = new Area('Meet Our Team');
$a->display($c);
?>

</div>



<div id="Our Videos" >
<div class="container">
<div class="row">
<div class="templatemo-line-header" >
<div class="text-center">
<hr class="team_hr team_hr_left hr_gray"/><span class="txt_orange">OUR VIDEOS</span>
<hr class="team_hr team_hr_right hr_gray" />
<?php
$a = new Area('Our Videos');
$a->display($c);
?>
</div>
</div>

<div class="clearfix"></div>
<div class="row text-center">
<a class="btn_loadmore btn btn-lg btn-orange" href="#" role="button">LOAD MORE</a>
</div>
</div><!-- /.container -->
</div> <!-- /.templatemo-portfolio -->

<div id="templatemo-blog">
<div class="container">
<div class="row">
<div class="templatemo-line-header" style="margin-top: 0px;" >
<div class="text-center">
<hr class="team_hr team_hr_left hr_gray"/><span class="span_blog txt_orange">BLOG POSTS</span>
<hr class="team_hr team_hr_right hr_gray" />
</div>
</div>
<br class="clearfix"/>
</div>

<div class="blog_box">
<div class="col-sm-5 col-md-6 blog_post">
<ul class="list-inline">
<li class="col-md-4">
<a href="#">
<img class="<?=$view->getThemePath()?>/img-responsive" src="images/blog-image-1.jpg" alt="gallery 1" />
</a>
</li>
<li class="col-md-8">
<div class="pull-left">
<span class="blog_header">GRAPHIC DESIGN</span><br/>
<span>Posted by : <a class="link_orange" href="#"><span class="txt_orange">Tracy</span></a></span>
</div>
<div class="pull-right">
<a class="btn btn-orange" href="#" role="button">18 January 2084</a>
</div>
<div class="clearfix"> </div>
<p class="blog_text">
Aliquam quis rutrum risus, ut condimentum ipsum. Nullam aliquet libero augue, eget auctor felis vulputate id. Proin a enim eu libero ornare malesuada. Sed iaculis fringilla lacinia. Sed laoreet lectus vitae [...]
</p>
</li>
</ul>
</div> <!-- /.blog_post 1 -->

<div class="col-sm-5 col-md-6 blog_post">
<ul class="list-inline">
<li class="col-md-4"><a href="#">
<img class="<?=$view->getThemePath()?>/img-responsive" src="images/blog-image-2.jpg" alt="gallery 2" /></a>
</li>
<li class="col-md-8">
<div class="pull-left">
<span class="blog_header">WEBSITE TEMPLATE</span><br/>
<span>Posted by : <a class="link_orange" href="#"><span class="txt_orange">Mary</span></a></span>
</div>
<div class="pull-right">
<a class="btn btn-orange" href="#" role="button">16 January 2084</a>
</div>
<div class="clearfix"> </div>
<p class="blog_text">
Morbi imperdiet ipsum sit amet dui pharetra, vulputate porta neque tristique. Quisque id turpis tristique, venenatis erat sit amet, venenatis turpis. Ut tellus ipsum, posuere bibendum [...]
</p>
</li>
</ul>
</div><!-- /.blog_post 2 -->

<div class="templatemo_clear"></div>

<div class="col-sm-5 col-md-6 blog_post">
<ul class="list-inline">
<li class="col-md-4"><a href="#">
<img class="<?=$view->getThemePath()?>/img-responsive" src="images/blog-image-2.jpg" alt="gallery 3" /></a>
</li>
<li class="col-md-8">
<div class="pull-left">
<span class="blog_header">WEB DEVELOPMENT</span><br/>
<span>Posted by : <a class="link_orange" href="#"><span class="txt_orange">Julia</span></a></span>
</div>
<div class="pull-right">
<a class="btn btn-orange" href="#" role="button">12 January 2084</a>
</div>
<div class="clearfix"> </div>
<p class="blog_text">
Fusce molestie tellus risus, id commodo turpis convallis id. Morbi mattis sapien sapien, vitae lacinia ante interdum sit amet. Praesent eget varius diam, ac tempor est. Mauris at scelerisque magna [...]
</p>
</li>
</ul>
</div><!-- /.blog_post 3 -->

<div class="col-sm-5 col-md-6 blog_post">
<ul class="list-inline">
<li class="col-md-4">
<a href="#">
<img class="img-responsive" src="<?=$view->getThemePath()?>/images/blog-image-1.jpg" alt="gallery 4" />
</a>
</li>
<li class="col-md-8">
<div class="pull-left">
<span class="blog_header">NEW FLUID LAYOUT</span><br/>
<span>Posted by : <a class="link_orange" href="#"><span class="txt_orange">Linda</span></a></span>
</div>
<div class="pull-right">
<a class="btn btn-orange" href="#" role="button">10 January 2084</a>
</div>
<div class="clearfix"> </div>
<p class="blog_text">
In venenatis sodales purus a cursus. Ut consectetur, libero ac elementum tristique, enim ante aliquet mauris, scelerisque congue magna neque ac purus. Aliquam facilisis volutpat odio [...]
</p>
</li>
</ul>
</div> <!-- /.blog_post 4 -->

</div>
</div>
</div>

<div id="templatemo-contact">
<div class="container">
<div class="row">
<div class="templatemo-line-header head_contact">
<div class="text-center">
<hr class="team_hr team_hr_left hr_gray"/><span class="txt_orange">CONTACT US</span>
<hr class="team_hr team_hr_right hr_gray"/>
</div>
</div>

<div class="col-md-8">
<div class="templatemo-contact-map" id="map-canvas"> </div>
<div class="clearfix"></div>
<i>You can find us on 399 Oakview, <span class="txt_orange">Drive East</span> in Macon.</i>
</div>
<div class="col-md-4 contact_right">
<p>BethYah MInistries Is Located right outside of Macon. Our Mialing adrress is BethYah Ministries C/O P.O. Box 171 Non-Domestic Dry Branch, Georgia, Zip Code Exempt, Without The United States</p>
<p><img src="<?=$view->getThemePath()?>/images/location.png" alt="icon 1" /> 399 Oakview Drive East Non-Domestic Macon, Georgia Zip Code Exempt</p>
<p><img src="<?=$view->getThemePath()?>/images/phone1.png" alt="icon 2" /> 478-345-5529</p>
<p><img src="<?=$view->getThemePath()?>/images/globe.png" alt="icon 3" /><a class="link_orange" href="#"><span class="txt_orange">www.bethyah.org</span></a></p>
<form class="form-horizontal" action="#">
<div class="form-group">
<input type="email" class="form-control" placeholder="Your Name..." maxlength="40" />
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Your Email..." maxlength="40" />
</div>
<div class="form-group">
<textarea class="form-control" style="height: 130px;" placeholder="Write down your message...">

View Replies: