看板 [ PHP ]
討論串[請益] cakephp renderElement()
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 2→)留言3則,0人參與, 最新作者kylekai (八隻貓,兩隻狗~...)時間15年前 (2010/09/30 10:37), 編輯資訊
0
0
2
內容預覽:
1.3 用的是... <?php echo $this->element('helpbox',. array("helptext" => "Oh, this text is very helpful."));. ?>. 1.2 用的也是一樣... 沒有看到是 $this->renderElement
(還有144個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者luo74128 (小貓)時間15年前 (2010/09/30 08:11), 編輯資訊
0
0
0
內容預覽:
我寫在 layouts底下 default.ctp裡. <body>. <?php //echo $this->renderElement('head'); //原本部分沒作用. include("../views/elements/head.ctp"); //改為include有作用. ?>. <
(還有172個字)

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者luo74128 (小貓)時間15年前 (2010/09/29 09:17), 編輯資訊
0
0
2
內容預覽:
請問一下為什麼我的cakephp. RenderElement() 和 $content_for_layout似乎都沒有作用也. 要改成include()才會正常引入,. 請我我是哪裡配置的不對嗎?. --. Aman ia vida 地下飛行. blog: http://luo74128.blog
首頁
上一頁
1
下一頁
尾頁