課程
/后端開發
/PHP
/洪大師帶你解讀Symfony 2框架
Unable to find template "ScourgenWebBundle::layout.html.twig" in ScourgenWenBundle:Default:index.html.twig at line 1.
2015-08-19
源自:洪大師帶你解讀Symfony 2框架 6-7
正在回答
比如你的php中這樣寫。
return $this->render('AcmeHelloBundle:default:home.html.twig', array('list'=>$list));
而且你public.html.twig存在的話
那么你extends 里面需要寫 {% extends 'AcmeHelloBundle:default:public.html.twig' %}
舉報
洪大師教你玩轉強大的框架-Symfony2,提高代碼性能
2 回答TwigBundle::layout.html.twig 在哪里
3 回答找不到Book
1 回答未找到user,這有在哪里引入嗎?
1 回答css里的 引用的背景 圖片,在css 壓縮之后 找不到,會報錯。
1 回答下載到的box是OVF文件的,那要怎樣添加到vagrant呢
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-01-19
比如你的php中這樣寫。
return $this->render('AcmeHelloBundle:default:home.html.twig', array('list'=>$list));
而且你public.html.twig存在的話
那么你extends 里面需要寫 {% extends 'AcmeHelloBundle:default:public.html.twig' %}