七月十五 发表于 2008-11-7 10:56:21

谁有更好办法实现layout及multi theme (template)?

昨天看了wiki,关于layout有了解决方案。
http://codeigniter.com/wiki/layout_library/

但是关于multi theme还是没有更好的方法。
http://codeigniter.com/forums/viewthread/94904/#480253

views的目录如下

views
|-- default
|   |-- _html
|   |   |-- css
|   |   |-- images
|   |   +-- js
|   |-- controller1
|   |   +-- method1.php
|   |-- controller2
|   +-- layout_main.php
+--other theme

请问各位是如何实现layout及multi theme的?

sankai 发表于 2008-11-7 12:41:47

template library

試試這個如何?:lol
http://www.williamsconcepts.com/ci/codeigniter/libraries/template/index.html

七月十五 发表于 2008-11-7 13:11:15

马上研究一下,非常感谢。

PS:CI就是库多

trynews 发表于 2009-2-10 16:12:30

也想了解一下layout
页: [1]
查看完整版本: 谁有更好办法实现layout及multi theme (template)?