FuelCMS echo the page body content that was set in admin page panel

48 views Asked by At

I tried setting up a content in the Body: enter image description here

I wanted to echo that content in my elson.php file

So this is my simple code

<?php echo fuel_var('body', ''); ?>

The problem is that I don't get the test word that I set on the admin panel. Why is that?

Any help on this. Your help will be greatly appreciated.

1

There are 1 answers

0
LGH On

Your elson.php file won't be called as it's using the main.php layout.