Welcome Guest, Not a member yet? Register   Sign In
Help skinning my CI App
#1

[eluser]vbsaltydog[/eluser]
I am in the architecture phase of my app design. I plan to use CI with the widgets and extension modules (HMVC) code additions.

I need to create a common "skin" to all CI pages.

I am thinking that I can use the HMVC as a preloader of the URL requested controller to run a controller called skin and pass to the skin controller the name of the URL requested controller, then the skin view will have widget calls for the header, footer, menu, etc in order to create the skin partials. The skin view will have a central div where there is a module call to the controller that was requested via URL so the URL requested content gets placed in the center of the skin view.

I am certain this will work but I dont want to reinvent the wheel. Is there an existing way to use a common skin that does not use smarty templates or otherwise restrict the ability to call widgets and HMVC modules from within the skin?
#2

[eluser]toopay[/eluser]
Look at wiki, there are several nice template library on CI
#3

[eluser]vbsaltydog[/eluser]
Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB