Cannot edit block in area
PermalinkPlease see attached screenshot.
The template code is
[code]
<?php
/**
* Created by PhpStorm.
* User: Dexter
* Date: 30/10/2015
* Time: 12:17 PM
*/
defined( 'C5_EXECUTE' ) or die( "Access Denied." );
$this->inc('elements/header.php'); ?>
<main>
<?php
$a = new Area( 'Main' );
$a->enableGridContainer();
$a->display( $c );
?>
<section>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="footer-promo ">
<?php
$a = new GlobalArea( 'Footer Promo' );
$a->display();
?>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<hr>
</div>
</div>
<div class="row">
<div class="footer-disclaimer col-sm-9">
<?php
$a = new GlobalArea( 'Footer Disclaimer' );
$a->display();
?>
</div>
<div class="footer-join col-sm-3">
<?php
$a = new GlobalArea('Footer Join');
$a->display();
?>
</div>
</div>
</div>
</section>
</main>
<?php $this->inc( 'elements/footer.php' ); ?>
[/code/
Is there anyway I can get to edit this block or delete it, even from the database and add a new block there so I can edit it?
Dex
Thanks for the reply.
No the block is not listed in the Global Areas. See attached screenshot. Even though it does not exist there, it is still on the frontend as can be seen here:
http://www.zesttas.com.au/clients/dorsetflex/index.php/about...
Dex
I was able to edit the block as needed. The block was in the dashboard as you first suggested, just not visible due to no actual content.
Cheers,
Dex