Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Tips and Tutorials
how to use Iframe
AsankaPrasad
March 2013
i need to use anther form in my template those are in efferent path
Syntaxlb
March 2013
You can use a GET variable for set if you want to show only content or not, in before function in your front controller.
For example :
if (\Input::get('content_only') == 1) {
\Theme::instance()->set_template('content_only');
}
Your template "content_only" does not contains your header, sidebar, footer, etc.. Just the content.
Syntaxlb
March 2013
I have just read your title.. I think iframe is not a great solution (you have more request), you can use render() in your template / view
AsankaPrasad
March 2013
what is render()?
Syntaxlb
March 2013
http://fuelphp.com/docs/classes/view.html#/method_render
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
AsankaPrasad
March 2013
Syntaxlb
March 2013