Return to Snippet

Revision: 31213
at September 1, 2010 07:36 by stephcode


Updated Code
<?php  if ($c->isEditMode()) { ?>
<div style="height: 335px; width: 165px; float: left;">
<?php  } ?>

<?php
$a = new Area('Block Item 1');
$a->display($c);
?>

<?php  if ($c->isEditMode()) { ?>
</div>
<?php  } ?>

Revision: 31212
at September 1, 2010 07:35 by stephcode


Initial Code
<?php  if ($c->isEditMode()) { ?>
<div style="position: relative; height: 335px; width: 165px; float: left;">
<?php  } ?>

<?php
$a = new Area('Grid Item 1');
$a->display($c);
?>

<?php  if ($c->isEditMode()) { ?>
</div>
<?php  } ?>

Initial URL

                                

Initial Description
For Concrete5, specific EditMode styling for a block.

Initial Title
EditMode block styling

Initial Tags

                                

Initial Language
PHP