Posted By

stephcode on 09/01/10


Tagged

edit block mode concrete5 c5 editmode


Versions (?)

EditMode block styling


 / Published in: PHP
 

For Concrete5, specific EditMode styling for a block.

  1. <?php if ($c->isEditMode()) { ?>
  2. <div style="height: 335px; width: 165px; float: left;">
  3. <?php } ?>
  4.  
  5. <?php
  6. $a = new Area('Block Item 1');
  7. $a->display($c);
  8. ?>
  9.  
  10. <?php if ($c->isEditMode()) { ?>
  11. </div>
  12. <?php } ?>

Report this snippet  

You need to login to post a comment.