This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Insert one page to another

Discussion relating to version 1.3.x and 1.4.x

Insert one page to another

by kay05 » Thu Jan 16, 2014 2:03 pm

i have two pages http://site/page1 and http://site/page2 (quiz). How i can insert page2 in page1? No insert page2 code, but calling page2 from page1 (as subrequest or in action or template) for page2 to work properly inside page1?
kay05
Junior Member
 
Posts: 1
Joined: Thu Jan 16, 2014 2:01 pm

Re: Insert one page to another

by mik » Wed Jan 22, 2014 11:32 am

Hi,


in page 1 html.twig

{% include 'Bundle:Default:page-2html.twig' %}
mik
Junior Member
 
Posts: 1
Joined: Wed Jan 22, 2014 11:29 am