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/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to use my HTML 'control': View,Controller,Library (/thread-33882.html)



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?