1.第一步:將美工新設計的模板放置到phpcms/templates/default/模塊目錄名/模板文件名.html.
如:phpcms/templates/default/content/category_new.html
如:phpcms/templates/default/content/category_download_new.html
如:phpcms/templates/default/content/category_picture_new.html
2.第二步:找到phpcms/templates/default/config.php配置文件添加如下代碼:
- array (
- 'templates|default|content' => //content-代表內容模塊的模板風格
- array ( //Vevb.com
- 'category.html' => '文章頻道頁',
- 'category_new.html' => '文章頻道頁',
- 'category_download.html' => '下載頻道頁',
- 'category_download_new.html' => '下載頻道頁',
- 'category_picture.html' => '圖片頻道頁',
- 'category_picture_new.html' => '圖片頻道頁',
- 'download.html' => '下載連接頁',
- 'footer.html' => '底部',
3.第三步:到后臺去選擇新的欄目頁、列表頁、內容詳情頁模板.
新聞熱點
疑難解答