How do I add a CMS block to a view?

edited May 2014 in Bug Reports
I have a block that I created in the CMS and I want to add it to a view, but I have no idea how!?

The CMS block is named "My Block" and it's id is 1

I tried:

<?= fuel_block('My Block') ?>

and

<?= fuel_block('1') ?>

With not luck :(

Comments

  • edited 3:29AM
    DAMMIT, you really need a delete button on there :p

    <?= fuel_block('My Block') ?> does work
  • edited May 2014
    Looks like you should use templating syntax if you are doing it in the CMS likd so:
    {fuel_block('my_block')}
  • edited 3:29AM
    Thanks
Sign In or Register to comment.