我創建了一個頁面,我想從數據庫中顯示列表。我從這個link遵循相同的步驟,這是正常工作。但問題是,我不能從數據庫循環數據在my tpl file
。在tpl
文件我顯示列表使用prestashop在自定義頁面顯示數據庫中的數據
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
</table>
請幫助我。
你告訴我們,使用控制器的內容是什麼? –
請打開鏈接,複製鏈接https://iftakharhasan.wordpress.com/2014/04/05/prestashop-create-a-custom-page-without-cms/。但在這個鏈接控制器沒有調用? – Coder
你如何改變內容CustomPageController.php? –