FUEL CMS Forum
Discussions
Activity
Home
›
Development
›
Modules
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
3.3K
All Categories
255
FUEL CMS News
112
News & Announcements
101
Share
273
Support
115
Bug Reports
90
Installation
242
Development
68
Feature Requests
117
Modules
CRITICAL SECURITY VERSION UPDATE:
https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.13
How to render different layout in controller
mmifas
May 2014
edited May 2014
in
Modules
Hi, I have a controller called Contact, Its passes some values to a view file. But I want to know is there any way to choose the layout and render the view?
Comments
mmifas
May 2014
edited 4:58AM
Found a solution. You create a view and call fuel_set_var function
<?php fuel_set_var('layout', 'your_layout_file')?>
Sign In
or
Register
to comment.
Forum Software Powered by Vanilla
Comments
<?php fuel_set_var('layout', 'your_layout_file')?>