stuffradio Posted December 4, 2007 Share Posted December 4, 2007 I am going to make it so you can put the modules anywhere in the page you want. Example: {UP} {DOWN} {LEFT} {RIGHT} {MIDDLE} Up = Header Down = Footer Left = Left(Nav maybe, and other stuff) Right = Whatever Middle = Main content(maybe shoutbox, etc.) I will have a database table called like modules. Up, Down, Left, Right, Middle will be fields in the table. They'll be set to a '0' or '1'. If set to '1' wherever that is.. it'll show up. If '0' it won't show up. How can I layout a layout so it won't mess up the design? Any tips on a different way I can do this? I saw it done on a tracker I used last year.. it was a pretty cool idea. Quote Link to comment https://forums.phpfreaks.com/topic/80076-design-layout-w-mvc/ Share on other sites More sharing options...
Liquid Fire Posted December 4, 2007 Share Posted December 4, 2007 unless I am missing something, you are going to store all your for your site pages inside a database? Quote Link to comment https://forums.phpfreaks.com/topic/80076-design-layout-w-mvc/#findComment-406474 Share on other sites More sharing options...
stuffradio Posted December 5, 2007 Author Share Posted December 5, 2007 You're missing something. Store module names inside the site as well as the status of if they're enabled, and where they are displayed. Quote Link to comment https://forums.phpfreaks.com/topic/80076-design-layout-w-mvc/#findComment-406650 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.