CodeIgniter Forums
How to use my HTML 'control': View,Controller,Library - 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: How to use my HTML 'control': View,Controller,Library (/showthread.php?tid=33882)



How to use my HTML 'control': View,Controller,Library - El Forum - 09-11-2010

[eluser]thomasR[/eluser]
Hi everyone,

I'm sure that anyone who used CodeIgniter for a while will be able to answer this but I'm just a beginner so bear with me.

I've created a user browser (like facebook, with ajax) and am not quite sure how to use it.
I want to insert it in many different pages with different properties (like which users to show).
I initially wanted to just load the view anytime I need it but I need some logic to decide what HTML/JS to generate.

I've read up on libraries but am not sure if it's the best way.

Any thoughts?