Welcome Guest, Not a member yet? Register   Sign In
Comment script at bottom of page
#1

[eluser]appelflap[/eluser]
Hi everybody!

I just started using CI a day ago and changed the code of small existing scripts to get an idea of the workings of CI. The website I have has a couple of controllers that display different things into an 'end view'. I'm not totally happy with the structure of the controllers/views.... I would like to know what the best way is to put a comment script at the bottom of all the controllers that can be viewed on my page. It will consist of a title/message box, a submit button and a list of previous comments to that specific controller.

Should I put the code into a PLUGIN and call it from the 'end view'? Or is there a much cleaner, better way for this?


PS.
Does somebody know a website that is built on CI and which has some controllers, helpers, which generates a front for which the main controller only generates the content AND! has a downloadable source? Smile The best way I learn structures is to see it right in front of me. The CI user guide is very nice, but it mainly covers very basic information.


Messages In This Thread
Comment script at bottom of page - by El Forum - 07-02-2007, 03:50 PM
Comment script at bottom of page - by El Forum - 07-02-2007, 06:28 PM
Comment script at bottom of page - by El Forum - 07-03-2007, 04:11 AM
Comment script at bottom of page - by El Forum - 07-03-2007, 04:24 AM
Comment script at bottom of page - by El Forum - 07-03-2007, 07:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB