Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
$this->template->menu becomes quoted when rendered
  • I am using a controller that extends Controller_Template to render my site, including my menu. The menu is simply a bunch of li tags. When I render it, however, the code is quoted (surrounded by "'s), so that the html is shown on the page instead of rendered by the browser. I am certain that the quotes aren't being introduced by the menu class. <code>
    echo DbMenu::build('main');
    $this->template->menu = DbMenu::build('main');
    </code> When i run this, I see the menu properly at the top of the screen but then see the quoted version in the appropriate spot in the template. Is there a feature/option to turn quotes on/off? Thanks,
    David

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion