Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

fuel block in views from fuel block database

edited October 2016 in Bug Reports
fuelcms development version.

when adding a fuel_block in a view from the cms it does not display the correct block it only displays the first one in the fuel_blocks table.

in view this was added

<?php echo fuel_block('name_of_the_block_in_cms', '', TRUE); ?>
no matter which block is called from cms blocks control panel it will only show the first one from the fuel_blocks table

Comments

  • Try:
    echo $this->fuel->blocks->render('name_of_the_block_in_cms');
  • edited 12:43AM
    Tried the above still comes back with the first block from database not the one im asking for
  • edited 12:43AM
    Thanks for the report. That seems to be a bug. I've posted a fix for that under the develop branch
Sign In or Register to comment.