loading views as template variables - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: loading views as template variables (/showthread.php?tid=25036) |
loading views as template variables - El Forum - 11-28-2009 [eluser]bigtimslim[/eluser] I'm new to using templates and quite sure how to go about this. I have a form that I want the designer to do whatever with. I feel like it would look better to just load the whole ting in the template as a variable. This gives me weird results. Thoughts? Code: function index() Code: <html> loading views as template variables - El Forum - 11-28-2009 [eluser]bigtimslim[/eluser] I realize this might be a little weird for a designer not seeing the elements in the form. What is the most common way? loading views as template variables - El Forum - 11-28-2009 [eluser]bigtimslim[/eluser] Neverming.. I found the third load view parameter to return as string. :red: loading views as template variables - El Forum - 01-15-2010 [eluser]hamzakhan[/eluser] why dont u use any ci libray of template. |